CosmosOperationCanceledException Constructors

Definition

Overloads

CosmosOperationCanceledException(OperationCanceledException, CosmosDiagnostics)

Create an instance of CosmosOperationCanceledException

CosmosOperationCanceledException(SerializationInfo, StreamingContext)

Initializes a new instance of the CosmosOperationCanceledException class.

CosmosOperationCanceledException(OperationCanceledException, CosmosDiagnostics)

Source:
CosmosOperationCanceledException.cs

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)

Source:
CosmosOperationCanceledException.cs

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