CosmosOperationCanceledException.Clone 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.
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.