IWSTrustContract.BeginValidate(Message, AsyncCallback, Object) 方法

定义

WS-Trust 验证绑定的异步开始方法。

public:
 IAsyncResult ^ BeginValidate(System::ServiceModel::Channels::Message ^ message, AsyncCallback ^ callback, System::Object ^ asyncState);
[System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Validate", ReplyAction="*")]
public IAsyncResult BeginValidate (System.ServiceModel.Channels.Message message, AsyncCallback callback, object asyncState);
[<System.ServiceModel.OperationContract(Action="*", AsyncPattern=true, Name="Validate", ReplyAction="*")>]
abstract member BeginValidate : System.ServiceModel.Channels.Message * AsyncCallback * obj -> IAsyncResult
Public Function BeginValidate (message As Message, callback As AsyncCallback, asyncState As Object) As IAsyncResult

参数

message
Message

表示包含 RST 的请求消息的 Message

callback
AsyncCallback

可选的 AsyncCallback 委托,在完成发送时调用。

asyncState
Object

一个用户提供的对象,它将该特定的异步发送请求与其他请求区别开来。

返回

IAsyncResult

表示异步发送(可能仍处于挂起状态)的 IAsyncResult 对象。

属性

适用于