←Select platform

CodecsLoadAsyncCompletedEventArgs Constructor

Summary

Creates new instance of the CodecsLoadAsyncCompletedEventArgs with the specified parameters.

Syntax

C#
VB
C++
public CodecsLoadAsyncCompletedEventArgs( 
   RasterImage image, 
   Uri uri, 
   Stream stream, 
   string fileName, 
   Exception error, 
   bool cancelled, 
   object userState 
) 
Public Function New( _ 
   ByVal image As Leadtools.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 _ 
) 
public: 
CodecsLoadAsyncCompletedEventArgs(  
   Leadtools.RasterImage^ image, 
   Uri^ uri, 
   Stream^ stream, 
   String^ fileName, 
   Exception^ error, 
   bool cancelled, 
   Object^ userState 
) 

Parameters

image
The RasterImage object instance being used.

uri
The Uri this asynchronous operation is using.

stream
The 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.LoadAsync method that initialized the construction of this object.

Example

For an example, refer to RasterCodecs.LoadAsyncCompleted.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly