Метод | Описание | |
---|---|---|
BeginProcessRequest ( |
Begins processing an incoming request.
|
|
BeginProcessRequest ( |
Begins processing an incoming request.
|
|
CallSynchronously ( ) : void |
Used to call the default synchronous handler. This method may block the current thread so the caller must not call in the thread that calls IServerBase.ScheduleIncomingRequest(). This method always traps any exceptions and reports them to the client as a fault. |
|
GetRequest ( IAsyncResult ar ) : IServiceRequest |
Checks for a valid IAsyncResult object and returns the original request object.
|
|
OperationCompleted ( IServiceResponse response, |
Used to indicate that the asynchronous operation has completed.
|
|
ProcessRequestAsyncResult ( |
Initializes a new instance of the ProcessRequestAsyncResult class.
|
|
WaitForComplete ( IAsyncResult ar, bool throwOnError ) : IServiceResponse |
Checks for a valid IAsyncResult object and waits for the operation to complete.
|
Метод | Описание | |
---|---|---|
OnProcessRequest ( object state ) : void |
Processes the request.
|
|
SaveExceptionAsResponse ( |
Saves an exception as response.
|
public BeginProcessRequest ( |
||
context | The security context for the request | |
request | IServiceRequest | The request. |
Результат | IAsyncResult |
public BeginProcessRequest ( |
||
context | The security context for the request | |
requestData | byte | The request data. |
Результат | IAsyncResult |
public static GetRequest ( IAsyncResult ar ) : IServiceRequest | ||
ar | IAsyncResult | The IAsyncResult object for the operation. |
Результат | IServiceRequest |
public OperationCompleted ( IServiceResponse response, |
||
response | IServiceResponse | The response. May be null if an error is provided. |
error | ||
Результат | void |
public ProcessRequestAsyncResult ( |
||
endpoint | The endpoint being called. | |
callback | AsyncCallback | The callback to use when the operation completes. |
callbackData | object | The callback data. |
timeout | int | The timeout in milliseconds |
Результат | System |
public static WaitForComplete ( IAsyncResult ar, bool throwOnError ) : IServiceResponse | ||
ar | IAsyncResult | The IAsyncResult object for the operation. |
throwOnError | bool | if set to |
Результат | IServiceResponse |