LockingPersistenceProvider.BeginUnlock 方法

定义

开始一个异步操作,以在持久性存储区中对实例进行解锁。

public:
 abstract IAsyncResult ^ BeginUnlock(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public abstract IAsyncResult BeginUnlock (TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginUnlock : TimeSpan * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginUnlock (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

参数

timeout
TimeSpan

时间间隔,必须在超时前在此时间间隔内完成操作。

callback
AsyncCallback

在操作完成时接收通知的委托。

state
Object

与异步操作关联的状态信息。

返回

IAsyncResult

异步操作的状态。

适用于