BinarySecurityToken Constructor (XmlElement, String, String)
Initializes a new instance of the BinarySecurityToken class using the specified XML element, value type, and token type.
Namespace: Microsoft.Web.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim element As XmlElement
Dim valueType As String
Dim tokenType As String
Dim binarySecurityToken1 As New BinarySecurityToken(element, valueType, tokenType)
Syntax
'Declaration
Protected Sub New( _
ByVal element As XmlElement, _
ByVal valueType As String, _
ByVal tokenType As String _
)
protected BinarySecurityToken(
XmlElement element,
string valueType,
string tokenType
);
protected:
BinarySecurityToken(
XmlElement^ element,
String^ valueType,
String^ tokenType
);
protected BinarySecurityToken(
XmlElement element,
System.String valueType,
System.String tokenType
);
protected function BinarySecurityToken(
element : XmlElement,
valueType : String,
tokenType : String
);
Parameters
- element
An XmlElement from which a new BinarySecurityToken is created.
- valueType
The value type of the security token.
- tokenType
The type of security token.
Remarks
The element parameter is a <BinarySecurityToken> element from a received SOAP message.
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