Share via


RequestSecurityTokenResponse Constructor (SecurityToken, String)

Initializes a new instance of the RequestSecurityTokenResponse class using the specified security token and scope.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim token As SecurityToken
Dim address As String
Dim requestSecurityTokenResponse1 As New RequestSecurityTokenResponse(token, address)

Syntax

'Declaration
Public Sub New( _
    ByVal token As SecurityToken, _
    ByVal address As String _
)
public RequestSecurityTokenResponse(
    SecurityToken token, 
    string address
);
public: RequestSecurityTokenResponse(
    SecurityToken^ token, 
    String^ address
);
public RequestSecurityTokenResponse(
    SecurityToken token, 
    System.String address
);
public function RequestSecurityTokenResponse(
     token : SecurityToken, 
     address : String
);

Parameters

  • token
    A SecurityToken representing the security token issued by the security token service.
  • address
    The scope of the SOAP message for which the issued security token may be used.

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

RequestSecurityTokenResponse Class
Microsoft.Web.Services2.Security Namespace

Other Resources

RequestSecurityTokenResponse Members