←Select platform

CodecsSaveAsyncCompletedEventArgs Constructor

Summary

Creates a new instance of the CodecsSaveAsyncCompletedEventArgs with the specified parameters.

Syntax
C#
VB
C++
public CodecsSaveAsyncCompletedEventArgs( 
   RasterImage image, 
   Uri uri, 
   Stream stream, 
   string fileName, 
   Exception error, 
   bool cancelled, 
   object userState 
) 
Public Sub New(ByVal image As RasterImage, ByVal uri As System.Uri, ByVal stream As System.IO.Stream, ByVal fileName As String, ByVal error As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object) 
public:  
   CodecsSaveAsyncCompletedEventArgs( RasterImage^ image, System::Uri^ uri, System::IO::Stream^ stream, String^ fileName, System::Exception^ error, bool cancelled, Object^ userState) 

Parameters

image

The RasterImage object instance being used.

uri

The System.Uri this asynchronous operation is using.

stream

The System.IO.Stream this asynchronous operation is using.

fileName

The file name this asynchronous operation is using.

error

Any error that occurred during the asynchronous operation.

cancelled

A value indicating whether the asynchronous operation was canceled.

userState

The optional user-supplied state object passed to the RasterCodecs.SaveAsync method that initialized the construction of this object.

Remarks

NOTE: This topic is part of RasterCodecs Async support using the .NET System.ComponentMode.AsyncOperation model. For .NET async/await support this type/member is not used. Instead, refer to RasterCodecs Async Operations.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.