C# Class IntroToAsync.SlowPoke

Datei anzeigen Open project: michaellperry/AsyncWin8 Class Usage Examples

Public Methods

Method Description
BeginWork ( AsyncCallback callback, object state ) : IAsyncResult
EndWork ( IAsyncResult result ) : int
Work ( ) : int
WorkAsync ( ) : Task

Method Details

BeginWork() public method

public BeginWork ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

EndWork() public method

public EndWork ( IAsyncResult result ) : int
result IAsyncResult
return int

Work() public method

public Work ( ) : int
return int

WorkAsync() public method

public WorkAsync ( ) : Task
return Task