Partilhar via


EncryptedKey Constructor (XmlElement)

Initialize a new instance of the EncryptedKey class using the specified XML element.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim element As XmlElement
Dim encryptedKey1 As New EncryptedKey(element)

Syntax

'Declaration
Public Sub New( _
    ByVal element As XmlElement _
)
public EncryptedKey(
    XmlElement element
);
public:
EncryptedKey(
    XmlElement^ element
);
public EncryptedKey(
    XmlElement element
);
public function EncryptedKey(
     element : XmlElement
);

Parameters

  • element
    An XmlElement that is used to create the new key.

Exceptions

Exception type Condition
ArgumentNullException

element is null.

ArgumentException

The LocalName and NamespaceURI properties of element are invalid.

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

EncryptedKey Class
EncryptedKey Members
Microsoft.Web.Services3.Security Namespace