Partager via


SecurityTokenServiceClient.SecurityTokenServiceAsyncResult Constructor

Begins a security token request.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim client As SecurityTokenServiceClient
Dim methodName As String
Dim request As SecurityTokenMessage
Dim callback As AsyncCallback
Dim state As Object
Dim securityTokenServiceClient_SecurityTokenServiceAsyncResult1 As New SecurityTokenServiceClient.SecurityTokenServiceAsyncResult(client, methodName, request, callback, state)

Syntax

'Declaration
Public Sub New( _
    ByVal client As SecurityTokenServiceClient, _
    ByVal methodName As String, _
    ByVal request As SecurityTokenMessage, _
    ByVal callback As AsyncCallback, _
    ByVal state As Object _
)
public SecurityTokenServiceClient.SecurityTokenServiceAsyncResult(
    SecurityTokenServiceClient client, 
    string methodName, 
    SecurityTokenMessage request, 
    AsyncCallback callback, 
    object state
);
public:
SecurityTokenServiceClient::SecurityTokenServiceAsyncResult(
    SecurityTokenServiceClient^ client, 
    String^ methodName, 
    SecurityTokenMessage^ request, 
    AsyncCallback^ callback, 
    Object^ state
);
public SecurityTokenServiceClient.SecurityTokenServiceAsyncResult(
    SecurityTokenServiceClient client, 
    System.String methodName, 
    SecurityTokenMessage request, 
    AsyncCallback callback, 
    System.Object state
);
public function SecurityTokenServiceClient.SecurityTokenServiceAsyncResult(
     client : SecurityTokenServiceClient, 
     methodName : String, 
     request : SecurityTokenMessage, 
     callback : AsyncCallback, 
     state : Object
);

Parameters

  • methodName
    The type of request being made to the security token service.
  • request
    A SecurityTokenMessage that represents the request being made to the security token service.
  • callback
    An AsyncCallback that is called when the asynchronous operation is completed. If callback is null, the delegate is not called.
  • state
    An object that contains state information for this request.

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.SecurityTokenServiceAsyncResult Class
SecurityTokenServiceClient.SecurityTokenServiceAsyncResult Members
Microsoft.Web.Services3.Security Namespace