LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
CodecsGetInformationAsyncCompletedEventArgs Constructor
See Also 
Leadtools.Codecs Namespace > CodecsGetInformationAsyncCompletedEventArgs Class : CodecsGetInformationAsyncCompletedEventArgs Constructor



info
The CodecsImageInfo 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.GetInformationAsync or RasterCodecs.LoadAsync method that initialized the construction of this object.
Creates new instance of the CodecsGetInformationAsyncCompletedEventArgs with the specified parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal info As CodecsImageInfo, _
   ByVal uri As Uri, _
   ByVal stream As Stream, _
   ByVal fileName As String, _
   ByVal error As Exception, _
   ByVal cancelled As Boolean, _
   ByVal userState As Object _
)
Visual Basic (Usage)Copy Code
Dim info As CodecsImageInfo
Dim uri As Uri
Dim stream As Stream
Dim fileName As String
Dim error As Exception
Dim cancelled As Boolean
Dim userState As Object
 
Dim instance As New CodecsGetInformationAsyncCompletedEventArgs(info, uri, stream, fileName, error, cancelled, userState)
C# 
public CodecsGetInformationAsyncCompletedEventArgs( 
   CodecsImageInfo info,
   Uri uri,
   Stream stream,
   string fileName,
   Exception error,
   bool cancelled,
   object userState
)
C++/CLI 
public:
CodecsGetInformationAsyncCompletedEventArgs( 
   CodecsImageInfo^ info,
   Uri^ uri,
   Stream^ stream,
   String^ fileName,
   Exception^ error,
   bool cancelled,
   Object^ userState
)

Parameters

info
The CodecsImageInfo 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.GetInformationAsync or RasterCodecs.LoadAsync method that initialized the construction of this object.

Example

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also