Definition of Async Renew 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.BeginTrustFeb2005Renew(request, callback, state)

Синтаксис

Visual Basic
<OperationContractAttribute(Name:="TrustFeb2005RenewAsync", AsyncPattern:=True, Action:="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew", ReplyAction:="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Renew")> _
Function BeginTrustFeb2005Renew ( _
		request As Message, _
		callback As AsyncCallback, _
		state As Object _
) As IAsyncResult
C#
[OperationContractAttribute(Name="TrustFeb2005RenewAsync", AsyncPattern=true, Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew", ReplyAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Renew")] 
IAsyncResult BeginTrustFeb2005Renew (
		Message request,
		AsyncCallback callback,
		Object state
)
C++
[OperationContractAttribute(Name=L"TrustFeb2005RenewAsync", AsyncPattern=true, Action=L"http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew", ReplyAction=L"http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Renew")] 
IAsyncResult^ BeginTrustFeb2005Renew (
		Message^ request, 
		AsyncCallback^ callback, 
		Object^ state
)
J#
/** @attribute OperationContractAttribute(Name="TrustFeb2005RenewAsync", AsyncPattern=true, Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew", ReplyAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Renew") */ 
IAsyncResult BeginTrustFeb2005Renew (
		Message request, 
		AsyncCallback callback, 
		Object state
)
JScript
OperationContractAttribute(Name="TrustFeb2005RenewAsync", AsyncPattern=true, Action="http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Renew", ReplyAction="http://schemas.xmlsoap.org/ws/2005/02/trust/RSTR/Renew") 
function BeginTrustFeb2005Renew (
		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) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

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

См. также