LdapConnection.BeginSendRequest Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends data asynchronously to the server.
BeginSendRequest(DirectoryRequest, PartialResultProcessing, AsyncCallback, Object) |
Sends data asynchronously to the server. |
BeginSendRequest(DirectoryRequest, TimeSpan, PartialResultProcessing, AsyncCallback, Object) |
Sends data asynchronously to the server. |
- 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, System::Object ^ state);
public IAsyncResult BeginSendRequest (System.DirectoryServices.Protocols.DirectoryRequest request, System.DirectoryServices.Protocols.PartialResultProcessing partialMode, AsyncCallback callback, object state);
member this.BeginSendRequest : System.DirectoryServices.Protocols.DirectoryRequest * System.DirectoryServices.Protocols.PartialResultProcessing * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendRequest (request As DirectoryRequest, partialMode As PartialResultProcessing, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- request
- DirectoryRequest
A DirectoryRequest object.
- partialMode
- PartialResultProcessing
A value from PartialResultProcessing enumeration that specifies the level of partial result to return.
- callback
- AsyncCallback
The AsyncCallback function.
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) |
- 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, System::Object ^ state);
public IAsyncResult BeginSendRequest (System.DirectoryServices.Protocols.DirectoryRequest request, TimeSpan requestTimeout, System.DirectoryServices.Protocols.PartialResultProcessing partialMode, AsyncCallback callback, object state);
member this.BeginSendRequest : System.DirectoryServices.Protocols.DirectoryRequest * TimeSpan * System.DirectoryServices.Protocols.PartialResultProcessing * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendRequest (request As DirectoryRequest, requestTimeout As TimeSpan, partialMode As PartialResultProcessing, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- request
- DirectoryRequest
A DirectoryRequest object.
- 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.
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) |
.NET-visszajelzés
A(z) .NET egy nyílt forráskód projekt. Visszajelzés adásához válasszon egy hivatkozást: