Udostępnij za pośrednictwem


CancellationReason Class

Definition

Reason for cancellation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.CancellationReasonTypeConverter))]
public class CancellationReason : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ICancellationReason
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.CancellationReasonTypeConverter))>]
type CancellationReason = class
    interface ICancellationReason
    interface IJsonSerializable
Public Class CancellationReason
Implements ICancellationReason
Inheritance
CancellationReason
Attributes
Implements

Constructors

CancellationReason()

Creates an new CancellationReason instance.

Properties

Reason

Reason for cancellation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CancellationReason.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CancellationReason.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ICancellationReason.

FromJsonString(String)

Creates a new instance of CancellationReason, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CancellationReason into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to