KeyIdentifier Constructor (Byte[], String)
Initializes a new instance of the KeyIdentifier class using the specified unique identifier and value type.
Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim identifier() As Byte
Dim valueType As String
Dim keyIdentifier1 As New KeyIdentifier(identifier, valueType)
Syntax
'Declaration
Public Sub New( _
ByVal identifier() As Byte, _
ByVal valueType As String _
)
public KeyIdentifier(
byte[] identifier,
string valueType
);
public:
KeyIdentifier(
array<unsigned char>^ identifier,
String^ valueType
);
public KeyIdentifier(
ubyte[] identifier,
System.String valueType
);
public function KeyIdentifier(
identifier : Byte[],
valueType : String
);
Parameters
- identifier
An array of type Byte containing a unique identifier for the key.
- valueType
An XML qualified name indicating the type of token.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException | identifier is null or an empty string. |
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
KeyIdentifier Class
KeyIdentifier Members
Microsoft.Web.Services3.Security Namespace