Definition of Async Cancel method for WS-Trust Feb 2005
Пространство имен: Microsoft.IdentityModel.Protocols.WSTrust
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)
Использование
Visual Basic |
---|
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) |
Синтаксис
Visual Basic |
---|
<OperationContractAttribute(Name:="TrustFeb2005CancelAsync", AsyncPattern:=True, Action:="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction:="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel")> _ Function BeginTrustFeb2005Cancel ( _ request As Message, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
C# |
---|
[OperationContractAttribute(Name="TrustFeb2005CancelAsync", AsyncPattern=true, Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel")] IAsyncResult BeginTrustFeb2005Cancel ( Message request, AsyncCallback callback, Object state ) |
C++ |
---|
[OperationContractAttribute(Name=L"TrustFeb2005CancelAsync", AsyncPattern=true, Action=L"http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction=L"http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel")] IAsyncResult^ BeginTrustFeb2005Cancel ( Message^ request, AsyncCallback^ callback, Object^ state ) |
J# |
---|
/** @attribute OperationContractAttribute(Name="TrustFeb2005CancelAsync", AsyncPattern=true, Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Cancel") */ IAsyncResult BeginTrustFeb2005Cancel ( Message request, AsyncCallback callback, Object state ) |
JScript |
---|
OperationContractAttribute(Name="TrustFeb2005CancelAsync", AsyncPattern=true, Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Cancel", ReplyAction="http://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.Безопасность потоков
Любые открытые статические члены
(Shared в Visual Basic) этого типа являются
поточно-ориентированными.Любые члены экземпляров не являются
гарантированно поточно-ориентированными.