LdapConnection.BeginSendRequest Method
Definition
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.
Overloads
BeginSendRequest(DirectoryRequest, PartialResultProcessing, AsyncCallback, Object) |
Sends data asynchronously to the server. |
BeginSendRequest(DirectoryRequest, TimeSpan, PartialResultProcessing, AsyncCallback, Object) |
Sends data asynchronously to the server. |
BeginSendRequest(DirectoryRequest, PartialResultProcessing, AsyncCallback, Object)
- Source:
- LdapConnection.cs
- 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
BeginSendRequest(DirectoryRequest, TimeSpan, PartialResultProcessing, AsyncCallback, Object)
- Source:
- LdapConnection.cs
- 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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應