Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


LdapConnection.BeginSendRequest Method

Definition

Sends data asynchronously to the server.

Overloads

BeginSendRequest(DirectoryRequest, PartialResultProcessing, AsyncCallback, Object)

Source:
LdapConnection.cs
Source:
LdapConnection.cs
Source:
LdapConnection.cs

Sends data asynchronously to the server.

public IAsyncResult BeginSendRequest (System.DirectoryServices.Protocols.DirectoryRequest request, System.DirectoryServices.Protocols.PartialResultProcessing partialMode, AsyncCallback callback, object state);

Parameters

partialMode
PartialResultProcessing

A value from PartialResultProcessing enumeration that specifies the level of partial result to return.

callback
AsyncCallback

The AsyncCallback function.

state
Object

An Object that contains the state data for this request.

Returns

A IAsyncResult object that references the asynchronous send.

Exceptions

The object handle is not valid.

request is null (Nothing in Visual Basic).

Partial results are not supported.

A callback function must be specified if partialMode is equal to ReturnPartialResultsAndNotifyCallback.

Applies to

.NET 9 (package-provided) és más verziók
Termék Verziók
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

BeginSendRequest(DirectoryRequest, TimeSpan, PartialResultProcessing, AsyncCallback, Object)

Source:
LdapConnection.cs
Source:
LdapConnection.cs
Source:
LdapConnection.cs

Sends data asynchronously to the server.

public IAsyncResult BeginSendRequest (System.DirectoryServices.Protocols.DirectoryRequest request, TimeSpan requestTimeout, System.DirectoryServices.Protocols.PartialResultProcessing partialMode, AsyncCallback callback, object state);

Parameters

requestTimeout
TimeSpan

The time, in seconds, until the request times out.

partialMode
PartialResultProcessing

A value from PartialResultProcessing enumeration that specifies the level of partial result to return.

callback
AsyncCallback

The AsyncCallback function.

state
Object

An Object that contains the state data for this request.

Returns

A IAsyncResult object that references the asynchronous send.

Exceptions

The object handle is not valid.

request is null (Nothing in Visual Basic).

Partial results are not supported.

A callback function must be specified if partialMode is equal to ReturnPartialResultsAndNotifyCallback.

Applies to

.NET 9 (package-provided) és más verziók
Termék Verziók
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)