IssuedSecurityTokenProvider.BeginOpen 方法

定义

异步开始打开提供程序。

重载

BeginOpen(AsyncCallback, Object)

异步开始打开提供程序。

BeginOpen(TimeSpan, AsyncCallback, Object)

异步开始打开提供程序。

BeginOpen(AsyncCallback, Object)

异步开始打开提供程序。

public:
 virtual IAsyncResult ^ BeginOpen(AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginOpen (AsyncCallback callback, object state);
abstract member BeginOpen : AsyncCallback * obj -> IAsyncResult
override this.BeginOpen : AsyncCallback * obj -> IAsyncResult
Public Function BeginOpen (callback As AsyncCallback, state As Object) As IAsyncResult

参数

callback
AsyncCallback

要在操作完成时执行的 AsyncCallback 方法。

state
Object

一个 Object,表示操作的状态。

返回

IAsyncResult

一个表示异步操作的结果的 IAsyncResult 对象。

实现

适用于

BeginOpen(TimeSpan, AsyncCallback, Object)

异步开始打开提供程序。

public:
 virtual IAsyncResult ^ BeginOpen(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginOpen (TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.BeginOpen : TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginOpen (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

参数

timeout
TimeSpan

一个 TimeSpan,在其之后调用会超时。

callback
AsyncCallback

要在操作完成时执行的 AsyncCallback 方法。

state
Object

一个 Object,表示操作的状态。

返回

IAsyncResult

一个表示异步操作的结果的 IAsyncResult 对象。

实现

适用于