WritingCompletedEventArgs(Boolean, Object, Exception) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WritingCompletedEventArgs class.
public:
WritingCompletedEventArgs(bool cancelled, System::Object ^ state, Exception ^ exception);
public WritingCompletedEventArgs (bool cancelled, object state, Exception exception);
new System.Windows.Documents.Serialization.WritingCompletedEventArgs : bool * obj * Exception -> System.Windows.Documents.Serialization.WritingCompletedEventArgs
Public Sub New (cancelled As Boolean, state As Object, exception As Exception)
Parameters
- cancelled
- Boolean
true
if canceled; otherwise, false
if the write operation completed normally.
- state
- Object
The user-supplied state object that was passed to the WriteAsync method.
- exception
- Exception
Error that occurred during the write operation or null
if there is no error.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET