LEADTOOLS Image File Support (Leadtools.Codecs assembly)

CodecsGetInformationAsyncCompletedEventArgs Constructor

Show in webframe







The CodecsImageInfo object instance being used.
The System.Uri this asynchronous operation is using.
The System.IO.Stream this asynchronous operation is using.
The file name this asynchronous operation is using.
Any error that occurred during the asynchronous operation.
A value indicating whether the asynchronous operation was canceled.
The optional user-supplied state object passed to the RasterCodecs.GetInformationAsync or RasterCodecs.LoadAsync method that initialized the construction of this object.
Creates a new instance of the CodecsGetInformationAsyncCompletedEventArgs with the specified parameters.
Syntax
public CodecsGetInformationAsyncCompletedEventArgs( 
   CodecsImageInfo info,
   Uri uri,
   Stream stream,
   string fileName,
   Exception error,
   bool cancelled,
   object userState
)
'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 _
)
'Usage
 
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)
public CodecsGetInformationAsyncCompletedEventArgs( 
   CodecsImageInfo info,
   Uri uri,
   Stream stream,
   string fileName,
   HResult error,
   bool cancelled,
   object userState
)

            
public CodecsGetInformationAsyncCompletedEvent(Object source, CodecsImageInfo info, ILeadStream stream, RuntimeException error, boolean cancelled, Object userState)
function CodecsGetInformationAsyncCompletedEventArgs( 
   info ,
   uri ,
   stream ,
   fileName ,
   error ,
   cancelled ,
   userState 
)
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
For an example, refer to RasterCodecs.GetInformationAsyncCompleted.
Requirements

Target Platforms

See Also

Reference

CodecsGetInformationAsyncCompletedEventArgs Class
CodecsGetInformationAsyncCompletedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.