Condividi tramite


CosmosOperationCanceledException.Clone Method

Definition

Creates a shallow copy of the current exception instance. This ensures that the cloned exception retains the same properties but does not excessively proliferate stack traces or deep-copy unnecessary objects.

public object Clone();
abstract member Clone : unit -> obj
override this.Clone : unit -> obj
Public Function Clone () As Object

Returns

A shallow copy of the current CosmosOperationCanceledException.

Implements

Applies to