BinarySecurityToken Constructor (String)
Initializes a new instance of the BinarySecurityToken class using the specified value type.
Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim valueType As String
Dim binarySecurityToken1 As New BinarySecurityToken(valueType)
Syntax
'Declaration
Protected Sub New( _
ByVal valueType As String _
)
protected BinarySecurityToken(
string valueType
);
protected:
BinarySecurityToken(
String^ valueType
);
protected BinarySecurityToken(
System.String valueType
);
protected function BinarySecurityToken(
valueType : String
);
Parameters
- valueType
The value type of the security token.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | valueType is null. |
Remarks
The WSSecurity.ValueTypes class contains constant strings of the value types for security tokens natively supported by WSE.
The specified value type must be registered in the application configuration file.
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
BinarySecurityToken Class
BinarySecurityToken Members
Microsoft.Web.Services3.Security.Tokens Namespace