SubscriptionClient.OnBeginCreateReceiver 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.
Overloads
OnBeginCreateReceiver(ReceiveMode, TimeSpan, AsyncCallback, Object) |
Executes the begin create receiver action. |
OnBeginCreateReceiver(String, String, ReceiveMode, TimeSpan, AsyncCallback, Object) |
Executes the begin create receiver action. |
OnBeginCreateReceiver(ReceiveMode, TimeSpan, AsyncCallback, Object)
Executes the begin create receiver action.
protected abstract IAsyncResult OnBeginCreateReceiver (Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginCreateReceiver : Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginCreateReceiver (receiveMode As ReceiveMode, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- receiveMode
- ReceiveMode
The message ReceiveMode.
- timeout
- TimeSpan
The wait time before the operation times out.
- callback
- AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- Object
A user-defined object that contains information about the receive operation. This object is passed to the Microsoft.ServiceBus.Messaging.SubscriptionClient.EndCreateReceiver(System.IAsyncResult) delegate when the operation is complete.
Returns
An IAsyncResult that references the asynchronous parent method.
Applies to
OnBeginCreateReceiver(String, String, ReceiveMode, TimeSpan, AsyncCallback, Object)
Executes the begin create receiver action.
protected abstract IAsyncResult OnBeginCreateReceiver (string subQueuePath, string subQueueName, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginCreateReceiver : string * string * Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginCreateReceiver (subQueuePath As String, subQueueName As String, receiveMode As ReceiveMode, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- subQueuePath
- String
The path of the subqueue.
- subQueueName
- String
The name of the subqueue.
- receiveMode
- ReceiveMode
The message ReceiveMode.
- timeout
- TimeSpan
The wait time before the operation times out.
- callback
- AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- Object
A user-defined object that contains information about the receive operation. This object is passed to the Microsoft.ServiceBus.Messaging.SubscriptionClient.EndCreateReceiver(System.IAsyncResult) delegate when the operation is complete.
Returns
An IAsyncResult that references the asynchronous parent async method.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기