Поделиться через


DsmlSoapHttpConnection Конструкторы

Определение

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

Перегрузки

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

DsmlSoapHttpConnection(Uri)

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

Инициализирует новый экземпляр класса , DsmlSoapHttpConnection используя указанный идентификатор, сетевые учетные данные и тип проверки подлинности.

DsmlSoapHttpConnection(DsmlDirectoryIdentifier)

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

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)

Параметры

identifier
DsmlDirectoryIdentifier

Объект , указывающий сервер для соединения.

Исключения

identifier имеет значение null (Nothing в Visual Basic).

Применяется к

DsmlSoapHttpConnection(Uri)

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

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

Параметры

uri
Uri

Сервер для подключения.

Исключения

uri имеет значение null (Nothing в Visual Basic).

Применяется к

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential)

Инициализирует новый экземпляр класса DsmlSoapHttpConnection.

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)

Параметры

identifier
DsmlDirectoryIdentifier

Сервер для подключения.

credential
NetworkCredential

Сетевые учетные данные.

Исключения

identifier имеет значение null (Nothing в Visual Basic).

Применяется к

DsmlSoapHttpConnection(DsmlDirectoryIdentifier, NetworkCredential, AuthType)

Инициализирует новый экземпляр класса , DsmlSoapHttpConnection используя указанный идентификатор, сетевые учетные данные и тип проверки подлинности.

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)

Параметры

identifier
DsmlDirectoryIdentifier

Сервер для подключения.

credential
NetworkCredential

Сетевые учетные данные.

authType
AuthType

Тип проверки подлинности, используемый для этого подключения.

Исключения

Параметр identifier является неопределенной ссылкой (Nothing в Visual Basic).

Значение authType не является одним из значений, поддерживаемых DSML. DSML поддерживает только Anonymous, Ntlm, Basic, Negotiate и digest.

Значение authType не является одной из констант, определенных в перечислении AuthType.

Применяется к