←Select platform

CodecsSaveAsyncCompletedEventArgs Constructor

Summary

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

Syntax
C#
C++
public CodecsSaveAsyncCompletedEventArgs( 
   RasterImage image, 
   Uri uri, 
   Stream stream, 
   string fileName, 
   Exception error, 
   bool cancelled, 
   object userState 
) 
vb[VB Syntax] 
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 22.0.2022.4.4
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2022 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

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