C# Class Elmah.AsyncResult

Inheritance: IAsyncResult
显示文件 Open project: elmah/Elmah Class Usage Examples

Public Methods

Method Description
Complete ( ) : bool
Complete ( Exception exception ) : bool
Complete ( Exception exception, bool completedSynchronously ) : bool
End ( IAsyncResult result, object owner, string operationId ) : void

Protected Methods

Method Description
AsyncResult ( AsyncCallback asyncCallback, object state, object owner, string operationId ) : System
Completed ( Exception exception, bool completedSynchronously ) : void
Completing ( Exception exception, bool completedSynchronously ) : void
MakeCallback ( AsyncCallback callback, AsyncResult result ) : void

Private Methods

Method Description
CheckUsage ( object owner, string operationId ) : void
Process ( ) : void

Method Details

AsyncResult() protected method

protected AsyncResult ( AsyncCallback asyncCallback, object state, object owner, string operationId ) : System
asyncCallback AsyncCallback
state object
owner object
operationId string
return System

Complete() public method

public Complete ( ) : bool
return bool

Complete() public method

public Complete ( Exception exception ) : bool
exception System.Exception
return bool

Complete() public method

public Complete ( Exception exception, bool completedSynchronously ) : bool
exception System.Exception
completedSynchronously bool
return bool

Completed() protected method

protected Completed ( Exception exception, bool completedSynchronously ) : void
exception System.Exception
completedSynchronously bool
return void

Completing() protected method

protected Completing ( Exception exception, bool completedSynchronously ) : void
exception System.Exception
completedSynchronously bool
return void

End() public static method

public static End ( IAsyncResult result, object owner, string operationId ) : void
result IAsyncResult
owner object
operationId string
return void

MakeCallback() protected method

protected MakeCallback ( AsyncCallback callback, AsyncResult result ) : void
callback AsyncCallback
result AsyncResult
return void