Delegate PDFNet.ConnectionErrorProcDelegate
Error handler for PWS server connection.
A type of callback function (or a delegate in .NET terminology) that is called in case
an error is encountered when connection fails.
The default for this method is e_continue
Assembly: PDFNet.dll
Syntax
public delegate void PDFNet.ConnectionErrorProcDelegate(string message, int error_code, bool switch_to_demo, object user_data)
Parameters
Type |
Name |
Description |
string |
message |
The reason for the connection failure.
|
int |
error_code |
The error code from the connection failure.
|
bool |
switch_to_demo |
Is 1 if continuing in the current situation requires a change from
a production key to demo mode (where watermarks will be applied) and 0 otherwise
|
object |
user_data |
Custom data.
|
Constructors
ConnectionErrorProcDelegate(object, IntPtr)
Declaration
public ConnectionErrorProcDelegate(object A_0, IntPtr A_1)
Parameters
Methods
BeginInvoke(string, int, bool, object, AsyncCallback, object)
Declaration
public IAsyncResult BeginInvoke(string message, int error_code, bool switch_to_demo, object user_data, AsyncCallback callback, object obj)
Parameters
Returns
EndInvoke(IAsyncResult)
Declaration
public void EndInvoke(IAsyncResult result)
Parameters
Invoke(string, int, bool, object)
Declaration
public void Invoke(string message, int error_code, bool switch_to_demo, object user_data)
Parameters