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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기