Redigera

Dela via


DsmlSoapHttpConnection Constructors

Definition

Initializes a new instance of the DsmlSoapHttpConnection class.

Overloads

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

Initializes a new instance of the DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(Uri)

Initializes a new instance of the DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

Initializes a new instance of the DsmlSoapHttpConnection class.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

Initializes a new instance of the DsmlSoapHttpConnection class using the specified identifier, network credentials, and authentication type.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

Initializes a new instance of the DsmlSoapHttpConnection class.

public:
 DsmlSoapHttpConnection(System::DirectoryServices::Protocols::DsmlDirectoryIdentifier ^ identifier);
public DsmlSoapHttpConnection (System.DirectoryServices.Protocols.DsmlDirectoryIdentifier identifier);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlDirectoryIdentifier -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (identifier As DsmlDirectoryIdentifier)

Parameters

identifier
DsmlDirectoryIdentifier

An object that specifies the server for the connection.

Exceptions

identifier is null (Nothing in Visual Basic).

Applies to

DsmlSoapHttpConnection(Uri)

Initializes a new instance of the DsmlSoapHttpConnection class.

public:
 DsmlSoapHttpConnection(Uri ^ uri);
public DsmlSoapHttpConnection (Uri uri);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : Uri -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (uri As Uri)

Parameters

uri
Uri

The server for the connection.

Exceptions

uri is null (Nothing in Visual Basic).

Applies to

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

Initializes a new instance of the DsmlSoapHttpConnection class.

public:
 DsmlSoapHttpConnection(System::DirectoryServices::Protocols::DsmlDirectoryIdentifier ^ identifier, System::Net::NetworkCredential ^ credential);
public DsmlSoapHttpConnection (System.DirectoryServices.Protocols.DsmlDirectoryIdentifier identifier, System.Net.NetworkCredential credential);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlDirectoryIdentifier * System.Net.NetworkCredential -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (identifier As DsmlDirectoryIdentifier, credential As NetworkCredential)

Parameters

identifier
DsmlDirectoryIdentifier

The server for the connection.

credential
NetworkCredential

The network credentials.

Exceptions

identifier is null (Nothing in Visual Basic).

Applies to

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

Initializes a new instance of the DsmlSoapHttpConnection class using the specified identifier, network credentials, and authentication type.

public:
 DsmlSoapHttpConnection(System::DirectoryServices::Protocols::DsmlDirectoryIdentifier ^ identifier, System::Net::NetworkCredential ^ credential, System::DirectoryServices::Protocols::AuthType authType);
public DsmlSoapHttpConnection (System.DirectoryServices.Protocols.DsmlDirectoryIdentifier identifier, System.Net.NetworkCredential credential, System.DirectoryServices.Protocols.AuthType authType);
new System.DirectoryServices.Protocols.DsmlSoapHttpConnection : System.DirectoryServices.Protocols.DsmlDirectoryIdentifier * System.Net.NetworkCredential * System.DirectoryServices.Protocols.AuthType -> System.DirectoryServices.Protocols.DsmlSoapHttpConnection
Public Sub New (identifier As DsmlDirectoryIdentifier, credential As NetworkCredential, authType As AuthType)

Parameters

identifier
DsmlDirectoryIdentifier

The server for the connection.

credential
NetworkCredential

The network credentials.

authType
AuthType

The authentication type to use for this connection.

Exceptions

identifier is a null reference (Nothing in Visual Basic).

authType value is not one of the DSML supported values. DSML only supports Anonymous, Ntlm, Basic, Negotiate and digest.

authType value is not one of the constants defined in the AuthType enumeration.

Applies to