LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

CodecsGetInformationAsyncCompletedEventArgs Constructor






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. .NET support Silverlight support
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
)
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsGetInformationAsyncCompletedEventArgs Class
CodecsGetInformationAsyncCompletedEventArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.