public static TResult EndOperation<TResult>(
IAsyncResult asyncResult,
string beginMethodName
)
Public Shared Function EndOperation(Of TResult) (
asyncResult As IAsyncResult,
beginMethodName As String
) As TResult
public:
generic<typename TResult>
static TResult EndOperation(
IAsyncResult^ asyncResult,
String^ beginMethodName
)
static member EndOperation :
asyncResult : IAsyncResult *
beginMethodName : string -> 'TResult
ArgumentNullException | asyncResult is . |
InvalidOperationException | asyncResult was not returned by the corresponding BeginOperation
or FromResult methods with a matching beginMethodName -or- this method was already called for this asyncResult instance. |
OperationCanceledException | The operation has been canceled and ThrowIfCanceled in the corresponding AsyncConfig was . |