语言

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

定义

WS-Trust Validate 绑定的异步 begin 方法。

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

一个 Message 表示包含 RST 的请求消息。

callback
AsyncCallback

一个可选 AsyncCallback 委托,在发送完成后调用。

asyncState
Object

用户提供的对象,用于区分此特定异步发送请求与其他请求。

返回

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

属性

适用于