InstanceStore.EndTryCommand(IAsyncResult) 方法

定義

結束非同步作業。

protected public:
 virtual bool EndTryCommand(IAsyncResult ^ result);
protected internal virtual bool EndTryCommand (IAsyncResult result);
abstract member EndTryCommand : IAsyncResult -> bool
override this.EndTryCommand : IAsyncResult -> bool
Protected Friend Overridable Function EndTryCommand (result As IAsyncResult) As Boolean

參數

result
IAsyncResult

運算的結果。

傳回

如果不支援傳遞至 BeginTryCommand 方法的命令,持續性提供者實作應傳回 false。 否則應傳回 true 或擲回例外狀況。

備註

警告

雖然這個方法宣告為 virtual ,而不是 abstract,但沒有任何實作。 必須覆寫這個方法,才能提供功能。

適用於