AzPSCloudException Constructors

Definition

Overloads

AzPSCloudException(String, String, Exception, Int32, String)
AzPSCloudException(String, ErrorKind, String, Exception, Int32, String)

AzPSCloudException(String, String, Exception, Int32, String)

public AzPSCloudException (string message, string desensitizedMessage = default, Exception innerException = default, int lineNumber = 0, string filePath = default);
new Microsoft.Azure.Commands.Common.Exceptions.AzPSCloudException : string * string * Exception * int * string -> Microsoft.Azure.Commands.Common.Exceptions.AzPSCloudException
Public Sub New (message As String, Optional desensitizedMessage As String = Nothing, Optional innerException As Exception = Nothing, Optional lineNumber As Integer = 0, Optional filePath As String = Nothing)

Parameters

message
String
desensitizedMessage
String
innerException
Exception
lineNumber
Int32
filePath
String

Applies to

AzPSCloudException(String, ErrorKind, String, Exception, Int32, String)

public AzPSCloudException (string message, Microsoft.Azure.Commands.Common.ErrorKind errorKind, string desensitizedMessage = default, Exception innerException = default, int lineNumber = 0, string filePath = default);
new Microsoft.Azure.Commands.Common.Exceptions.AzPSCloudException : string * Microsoft.Azure.Commands.Common.ErrorKind * string * Exception * int * string -> Microsoft.Azure.Commands.Common.Exceptions.AzPSCloudException
Public Sub New (message As String, errorKind As ErrorKind, Optional desensitizedMessage As String = Nothing, Optional innerException As Exception = Nothing, Optional lineNumber As Integer = 0, Optional filePath As String = Nothing)

Parameters

message
String
errorKind
ErrorKind
desensitizedMessage
String
innerException
Exception
lineNumber
Int32
filePath
String

Applies to