ProcessErrorEventArgs(String, String, Exception, CancellationToken) Constructor
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.
Initializes a new instance of the ProcessErrorEventArgs structure.
public ProcessErrorEventArgs (string partitionId, string operation, Exception exception, System.Threading.CancellationToken cancellationToken = default);
new Azure.Messaging.EventHubs.Processor.ProcessErrorEventArgs : string * string * Exception * System.Threading.CancellationToken -> Azure.Messaging.EventHubs.Processor.ProcessErrorEventArgs
Public Sub New (partitionId As String, operation As String, exception As Exception, Optional cancellationToken As CancellationToken = Nothing)
Parameters
- partitionId
- String
The identifier of the partition whose processing threw an exception.
- operation
- String
A short description of the operation that was being performed when the exception was thrown.
- exception
- Exception
The exception that was thrown by the EventProcessorClient
.
- cancellationToken
- CancellationToken
A CancellationToken instance to signal the request to cancel the operation.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET