OnPartReadyEventArgs Constructor

PDFTron SilverDox SDK

Collapse imageExpand ImageCopy imageCopyHover image
Constructor.

Namespace: PDFTron.SilverDox.IO
Assembly: SilverDox (in SilverDox.dll) Version: 1.2.4413.29010

Syntax

C#
public OnPartReadyEventArgs(
	string fileName,
	byte[] data,
	Object customData,
	bool completedSynchronously,
	bool compressedData,
	bool cancelled,
	Exception error
)
Visual Basic
Public Sub New ( _
	fileName As String, _
	data As Byte(), _
	customData As Object, _
	completedSynchronously As Boolean, _
	compressedData As Boolean, _
	cancelled As Boolean, _
	error As Exception _
)
Visual C++
public:
OnPartReadyEventArgs(
	String^ fileName, 
	array<unsigned char>^ data, 
	Object^ customData, 
	bool completedSynchronously, 
	bool compressedData, 
	bool cancelled, 
	Exception^ error
)

Parameters

fileName
Type: System..::..String
The file name of the part being returend.
data
Type: array<System..::..Byte>[]()[][]
The data of the part being returned.
customData
Type: System..::..Object
An object that may be used to pass through custom data.
completedSynchronously
Type: System..::..Boolean
Indicates if the callback was called synchronously.
compressedData
Type: System..::..Boolean

[Missing <param name="compressedData"/> documentation for "M:PDFTron.SilverDox.IO.OnPartReadyEventArgs.#ctor(System.String,System.Byte[],System.Object,System.Boolean,System.Boolean,System.Boolean,System.Exception)"]

cancelled
Type: System..::..Boolean
Indicates if the request has been cancelled.
error
Type: System..::..Exception
If an error has occured, Error contains information about the error; otherwise, Error is null.

See Also