←Select platform

CodecsAsyncCompletedEventArgs Constructor

Summary

Initializes a new instance of this class with the specified parameters.

Syntax
C#
VB
C++
protected CodecsAsyncCompletedEventArgs( 
   Uri uri, 
   Stream stream, 
   string fileName, 
   Exception error, 
   bool cancelled, 
   object userState 
) 
Protected Sub New(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) 
protected:  
   CodecsAsyncCompletedEventArgs( System::Uri^ uri, System::IO::Stream^ stream, String^ fileName, System::Exception^ error, bool cancelled, Object^ userState) 

Parameters

uri

The Uri this asynchronous operation is using.

stream

The Stream this asynchronous operation is using.

fileName

The FileName 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 calling 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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly