IWSTrustFeb2005AsyncContract.BeginTrustFeb2005Cancel 方法

Definition of Async Cancel method for WS-Trust Feb 2005

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

用法

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

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

语法

声明
<OperationContractAttribute(Name:="TrustFeb2005CancelAsync", AsyncPattern:=True, Action:="https://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction:="https://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel")> _
Function BeginTrustFeb2005Cancel ( _
    request As Message, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
[OperationContractAttribute(Name="TrustFeb2005CancelAsync", AsyncPattern=true, Action="https://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction="https://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel")] 
IAsyncResult BeginTrustFeb2005Cancel (
    Message request,
    AsyncCallback callback,
    Object state
)
[OperationContractAttribute(Name=L"TrustFeb2005CancelAsync", AsyncPattern=true, Action=L"https://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction=L"https://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel")] 
IAsyncResult^ BeginTrustFeb2005Cancel (
    Message^ request, 
    AsyncCallback^ callback, 
    Object^ state
)
/** @attribute OperationContractAttribute(Name="TrustFeb2005CancelAsync", AsyncPattern=true, Action="https://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction="https://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel") */ 
IAsyncResult BeginTrustFeb2005Cancel (
    Message request, 
    AsyncCallback callback, 
    Object state
)
OperationContractAttribute(Name="TrustFeb2005CancelAsync", AsyncPattern=true, Action="https://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction="https://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel") 
function BeginTrustFeb2005Cancel (
    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

请参见

参考

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