CosmosOperationCanceledException Constructors
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
CosmosOperationCanceledException(OperationCanceledException, CosmosDiagnostics) |
Create an instance of CosmosOperationCanceledException |
CosmosOperationCanceledException(SerializationInfo, StreamingContext) |
Initializes a new instance of the CosmosOperationCanceledException class. |
CosmosOperationCanceledException(OperationCanceledException, CosmosDiagnostics)
Create an instance of CosmosOperationCanceledException
public CosmosOperationCanceledException (OperationCanceledException originalException, Microsoft.Azure.Cosmos.CosmosDiagnostics diagnostics);
new Microsoft.Azure.Cosmos.CosmosOperationCanceledException : OperationCanceledException * Microsoft.Azure.Cosmos.CosmosDiagnostics -> Microsoft.Azure.Cosmos.CosmosOperationCanceledException
Public Sub New (originalException As OperationCanceledException, diagnostics As CosmosDiagnostics)
Parameters
- originalException
- OperationCanceledException
The original operation canceled exception
- diagnostics
- CosmosDiagnostics
Applies to
CosmosOperationCanceledException(SerializationInfo, StreamingContext)
Initializes a new instance of the CosmosOperationCanceledException class.
protected CosmosOperationCanceledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.Azure.Cosmos.CosmosOperationCanceledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.Azure.Cosmos.CosmosOperationCanceledException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object that holds serialized object data for the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應