SecurityTokenServiceClient.SecurityTokenServiceAsyncResult Constructor

Begins a security token request.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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 the security token service.
  • request
    A SecurityTokenMessage that represents the request being made to the security token service.
  • callback
    An System.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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

SecurityTokenServiceClient.SecurityTokenServiceAsyncResult Class
Microsoft.Web.Services2.Security Namespace

Other Resources

SecurityTokenServiceClient.SecurityTokenServiceAsyncResult Members