Condividi tramite


TransferException Constructors

Definition

Overloads

TransferException()

Initializes a new instance of the TransferException class.

TransferException(TransferErrorCode)

Initializes a new instance of the TransferException class.

TransferException(String)

Initializes a new instance of the TransferException class.

TransferException(TransferErrorCode, String)

Initializes a new instance of the TransferException class.

TransferException(String, Exception)

Initializes a new instance of the TransferException class.

TransferException(TransferErrorCode, String, Exception)

Initializes a new instance of the TransferException class.

TransferException()

Initializes a new instance of the TransferException class.

public TransferException ();
Public Sub New ()

Applies to

TransferException(TransferErrorCode)

Initializes a new instance of the TransferException class.

public TransferException (Microsoft.Azure.Storage.DataMovement.TransferErrorCode errorCode);
new Microsoft.Azure.Storage.DataMovement.TransferException : Microsoft.Azure.Storage.DataMovement.TransferErrorCode -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (errorCode As TransferErrorCode)

Parameters

errorCode
TransferErrorCode

Transfer error code.

Applies to

TransferException(String)

Initializes a new instance of the TransferException class.

public TransferException (string message);
new Microsoft.Azure.Storage.DataMovement.TransferException : string -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

TransferException(TransferErrorCode, String)

Initializes a new instance of the TransferException class.

public TransferException (Microsoft.Azure.Storage.DataMovement.TransferErrorCode errorCode, string message);
new Microsoft.Azure.Storage.DataMovement.TransferException : Microsoft.Azure.Storage.DataMovement.TransferErrorCode * string -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (errorCode As TransferErrorCode, message As String)

Parameters

errorCode
TransferErrorCode

Transfer error code.

message
String

Exception message.

Applies to

TransferException(String, Exception)

Initializes a new instance of the TransferException class.

public TransferException (string message, Exception ex);
new Microsoft.Azure.Storage.DataMovement.TransferException : string * Exception -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (message As String, ex As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

ex
Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.

Applies to

TransferException(TransferErrorCode, String, Exception)

Initializes a new instance of the TransferException class.

public TransferException (Microsoft.Azure.Storage.DataMovement.TransferErrorCode errorCode, string message, Exception innerException);
new Microsoft.Azure.Storage.DataMovement.TransferException : Microsoft.Azure.Storage.DataMovement.TransferErrorCode * string * Exception -> Microsoft.Azure.Storage.DataMovement.TransferException
Public Sub New (errorCode As TransferErrorCode, message As String, innerException As Exception)

Parameters

errorCode
TransferErrorCode

Transfer error code.

message
String

Exception message.

innerException
Exception

Inner exception.

Applies to