Share via


CmdletDeprecationAttribute Class

Definition

Caution

This attribute is deprecated. Please use CmdletDeprecationWithVersionAttribute instead to provide the deprecate Az version and module version

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.Obsolete("This attribute is deprecated. Please use CmdletDeprecationWithVersionAttribute instead to provide the deprecate Az version and module version")]
public class CmdletDeprecationAttribute : Microsoft.WindowsAzure.Commands.Common.CustomAttributes.GenericBreakingChangeAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public class CmdletDeprecationAttribute : Microsoft.WindowsAzure.Commands.Common.CustomAttributes.GenericBreakingChangeAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.Obsolete("This attribute is deprecated. Please use CmdletDeprecationWithVersionAttribute instead to provide the deprecate Az version and module version")>]
type CmdletDeprecationAttribute = class
    inherit GenericBreakingChangeAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type CmdletDeprecationAttribute = class
    inherit GenericBreakingChangeAttribute
Public Class CmdletDeprecationAttribute
Inherits GenericBreakingChangeAttribute
Inheritance
CmdletDeprecationAttribute
Attributes

Constructors

CmdletDeprecationAttribute()
CmdletDeprecationAttribute(String, String)
CmdletDeprecationAttribute(String)

Properties

ChangeDescription (Inherited from GenericBreakingChangeAttribute)
ChangeInEfectByDate (Inherited from GenericBreakingChangeAttribute)
ChangeInEfectByDateSet (Inherited from GenericBreakingChangeAttribute)
DeprecateByVersion (Inherited from GenericBreakingChangeAttribute)
DeprecateByVersionSet (Inherited from GenericBreakingChangeAttribute)
NewWay (Inherited from GenericBreakingChangeAttribute)
OldWay (Inherited from GenericBreakingChangeAttribute)
ReplacementCmdletName

Methods

GetAttributeSpecificMessage()
GetBreakingChangeTextFromAttribute(Type, Boolean) (Inherited from GenericBreakingChangeAttribute)
getInEffectByDate() (Inherited from GenericBreakingChangeAttribute)
IsApplicableToInvocation(InvocationInfo) (Inherited from GenericBreakingChangeAttribute)
PrintCustomAttributeInfo(Type, Boolean, Action<String>) (Inherited from GenericBreakingChangeAttribute)

Applies to