Share via


SecurityToken Constructor (String)

Initializes a new instance of the SecurityToken class using the specified token type.

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

Usage

'Usage
Dim tokenType As String
Dim securityToken1 As New SecurityToken(tokenType)

Syntax

'Declaration
Protected Sub New( _
    ByVal tokenType As String _
)
protected SecurityToken(
    string tokenType
);
protected: SecurityToken(
    String^ tokenType
);
protected SecurityToken(
    System.String tokenType
);
protected function SecurityToken(
     tokenType : String
);

Parameters

  • tokenType
    The type of security token to create a new instance of.

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

SecurityToken Class
Microsoft.Web.Services2.Security.Tokens Namespace

Other Resources

SecurityToken Members