←Select platform

CodecsSaveAsyncCompletedEventArgs Constructor

Summary

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

Syntax
C#
C++/CLI
Python
public CodecsSaveAsyncCompletedEventArgs( 
   RasterImage image, 
   Uri uri, 
   Stream stream, 
   string fileName, 
   Exception error, 
   bool cancelled, 
   object userState 
) 
public:  
   CodecsSaveAsyncCompletedEventArgs( RasterImage^ image, System::Uri^ uri, System::IO::Stream^ stream, String^ fileName, System::Exception^ error, bool cancelled, Object^ userState) 
__init__(self,image,uri,stream,fileName,error,cancelled,userState) # Overloaded constructor 

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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.