Definition of Async Validate method for WS-Trust 1.3
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

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

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

Syntax

Visual Basic
<OperationContractAttribute(Name:="Trust13ValidateAsync", AsyncPattern:=True, Action:="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate", ReplyAction:="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal")> _
Function BeginTrust13Validate ( _
		request As Message, _
		callback As AsyncCallback, _
		state As Object _
) As IAsyncResult
C#
[OperationContractAttribute(Name="Trust13ValidateAsync", AsyncPattern=true, Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate", ReplyAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal")] 
IAsyncResult BeginTrust13Validate (
		Message request,
		AsyncCallback callback,
		Object state
)
C++
[OperationContractAttribute(Name=L"Trust13ValidateAsync", AsyncPattern=true, Action=L"http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate", ReplyAction=L"http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal")] 
IAsyncResult^ BeginTrust13Validate (
		Message^ request, 
		AsyncCallback^ callback, 
		Object^ state
)
J#
/** @attribute OperationContractAttribute(Name="Trust13ValidateAsync", AsyncPattern=true, Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate", ReplyAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal") */ 
IAsyncResult BeginTrust13Validate (
		Message request, 
		AsyncCallback callback, 
		Object state
)
JScript
OperationContractAttribute(Name="Trust13ValidateAsync", AsyncPattern=true, Action="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/Validate", ReplyAction="http://docs.oasis-open.org/ws-sx/ws-trust/200512/RSTR/ValidateFinal") 
function BeginTrust13Validate (
		request : Message, 
		callback : AsyncCallback, 
		state : Object
) : IAsyncResult

Parameters

request

Request Message containing the RST.

callback

AsyncCallback context.

state

Asyn state.

Return Value

IAsyncResult result instance.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also