KeyIdentifier Constructor (Byte , String)

Initializes a new instance of the KeyIdentifier class using the specified unique identifier and value type.

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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<Byte>^ identifier, 
    String^ valueType
);
public KeyIdentifier(
    ubyte[] identifier, 
    System.String valueType
);
public function KeyIdentifier(
     identifier : Byte[], 
     valueType : String
);

Parameters

  • identifier
    An array of type System.Byte containing a unique identifier for the key.
  • valueType
    An XML qualified name indicating the type of token.

Exceptions

Exception type Condition
System.ArgumentNullException

identifieris null or an empty string.

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

KeyIdentifier Class
Microsoft.Web.Services2.Security Namespace

Other Resources

KeyIdentifier Members