IWSTrust13AsyncContract.BeginTrust13Cancel 方法

Definition of Async Cancel method for WS-Trust 1.3

命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As IWSTrust13AsyncContract
Dim request As Message
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginTrust13Cancel(request, callback, state)

语法

声明
<OperationContractAttribute(Name:="Trust13CancelAsync", AsyncPattern:=True, Action:="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel", ReplyAction:="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal")> _
Function BeginTrust13Cancel ( _
    request As Message, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
[OperationContractAttribute(Name="Trust13CancelAsync", AsyncPattern=true, Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel", ReplyAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal")] 
IAsyncResult BeginTrust13Cancel (
    Message request,
    AsyncCallback callback,
    Object state
)
[OperationContractAttribute(Name=L"Trust13CancelAsync", AsyncPattern=true, Action=L"http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel", ReplyAction=L"http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal")] 
IAsyncResult^ BeginTrust13Cancel (
    Message^ request, 
    AsyncCallback^ callback, 
    Object^ state
)
/** @attribute OperationContractAttribute(Name="Trust13CancelAsync", AsyncPattern=true, Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel", ReplyAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal") */ 
IAsyncResult BeginTrust13Cancel (
    Message request, 
    AsyncCallback callback, 
    Object state
)
OperationContractAttribute(Name="Trust13CancelAsync", AsyncPattern=true, Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Cancel", ReplyAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/CancelFinal") 
function BeginTrust13Cancel (
    request : Message, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

参数

  • request
    Request Message containing the RST.
  • callback
    AsyncCallback context.
  • state
    Asyn state.

返回值

IAsyncResult result instance.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

IWSTrust13AsyncContract 接口
IWSTrust13AsyncContract 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间