你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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