Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal image As RasterImage, _ 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 image As RasterImage 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 CodecsLoadAsyncCompletedEventArgs(image, uri, stream, fileName, error, cancelled, userState) |
C# | |
---|---|
public CodecsLoadAsyncCompletedEventArgs( RasterImage image, Uri uri, Stream stream, string fileName, Exception error, bool cancelled, object userState ) |
C++/CLI | |
---|---|
public: CodecsLoadAsyncCompletedEventArgs( RasterImage^ image, Uri^ uri, Stream^ stream, String^ fileName, Exception^ error, bool cancelled, Object^ userState ) |
Parameters
- image
- The Leadtools.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.GetInformationAsync or RasterCodecs.LoadAsync method that initialized the construction of this object.
For an example, refer to RasterCodecs.LoadAsyncCompleted.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)