SecurityTokenServiceClient.BeginRequestSecurityToken Method
Begins an asynchronous security token request to a security token service.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Public Class securityTokenServiceClientImplementation
Inherits SecurityTokenServiceClient
Protected Overrides Function BeginRequestSecurityToken(request As SecurityTokenMessage, _
methodName As String, _
callback As AsyncCallback, _
state As Object)
MyBase.BeginRequestSecurityToken(request, methodName, callback, state)
End Function
End Class
Syntax
'Declaration
Protected Function BeginRequestSecurityToken( _
ByVal request As SecurityTokenMessage, _
ByVal methodName As String, _
ByVal callback As AsyncCallback, _
ByVal state As Object _
) As IAsyncResult
protected IAsyncResult BeginRequestSecurityToken(
SecurityTokenMessage request,
string methodName,
AsyncCallback callback,
object state
);
protected:
IAsyncResult^ BeginRequestSecurityToken(
SecurityTokenMessage^ request,
String^ methodName,
AsyncCallback^ callback,
Object^ state
);
protected IAsyncResult BeginRequestSecurityToken(
SecurityTokenMessage request,
System.String methodName,
AsyncCallback callback,
System.Object state
);
protected function BeginRequestSecurityToken(
request : SecurityTokenMessage,
methodName : String,
callback : AsyncCallback,
state : Object
) : IAsyncResult;
Parameters
- request
A RequestSecurityToken that contains the details of the request.
- methodName
- callback
The AsyncCallback delegate.
- state
The state object for the request.
Return Value
An IAsyncResult that references the asynchronous request.
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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SecurityTokenServiceClient Class
SecurityTokenServiceClient Members
Microsoft.Web.Services3.Security Namespace