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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage (pull requests). Pour plus d’informations, consultez notre guide du contributeur.