SecurityToken Constructor (XmlElement, String)
Initializes a new instance of the SecurityToken class using the specified XML element and token type.
Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)
Usage
'Usage
Dim element As XmlElement
Dim tokenType As String
Dim securityToken1 As New SecurityToken(element, tokenType)
Syntax
'Declaration
Protected Sub New( _
ByVal element As XmlElement, _
ByVal tokenType As String _
)
protected SecurityToken(
XmlElement element,
string tokenType
);
protected: SecurityToken(
XmlElement^ element,
String^ tokenType
);
protected SecurityToken(
XmlElement element,
System.String tokenType
);
protected function SecurityToken(
element : XmlElement,
tokenType : String
);
Parameters
- element
An System.Xml.XmlElement that is used to create the new security token.
- tokenType
The type of security token to create a new instance of.
Remarks
The element parameter is an element in a WS-Security header of a received SOAP message.
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