Muokkaa

Jaa


TrackingProfileDeserializationException Constructors

Definition

Initializes a new instance of the TrackingProfileDeserializationException class.

Overloads

TrackingProfileDeserializationException()

Initializes a new instance of the TrackingProfileDeserializationException class.

TrackingProfileDeserializationException(String)

Initializes a new instance of the TrackingProfileDeserializationException class with a specified error message.

TrackingProfileDeserializationException(String, Exception)

Initializes a new instance of the TrackingProfileDeserializationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

TrackingProfileDeserializationException()

Initializes a new instance of the TrackingProfileDeserializationException class.

public:
 TrackingProfileDeserializationException();
public TrackingProfileDeserializationException ();
Public Sub New ()

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error and takes into account the current system culture.

The following table shows the initial property values for an instance of TrackingProfileDeserializationException.

Property Value
InnerException A null reference (Nothing in Visual Basic)
Message A system-supplied localized description.
ValidationEventArgs An empty IList.

Applies to

TrackingProfileDeserializationException(String)

Initializes a new instance of the TrackingProfileDeserializationException class with a specified error message.

public:
 TrackingProfileDeserializationException(System::String ^ message);
public TrackingProfileDeserializationException (string message);
new System.Workflow.Runtime.Tracking.TrackingProfileDeserializationException : string -> System.Workflow.Runtime.Tracking.TrackingProfileDeserializationException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Remarks

The content of the message parameter is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

The following table shows the initial property values for an instance of TrackingProfileDeserializationException.

Property Value
InnerException A null reference (Nothing in Visual Basic)
Message The error message string.
ValidationEventArgs An empty IList.

Applies to

TrackingProfileDeserializationException(String, Exception)

Initializes a new instance of the TrackingProfileDeserializationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 TrackingProfileDeserializationException(System::String ^ message, Exception ^ innerException);
public TrackingProfileDeserializationException (string message, Exception innerException);
new System.Workflow.Runtime.Tracking.TrackingProfileDeserializationException : string * Exception -> System.Workflow.Runtime.Tracking.TrackingProfileDeserializationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Remarks

An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the InnerException property. The InnerException property returns the same value that is supplied to the constructor or a null reference (Nothing in Visual Basic) if the innerException parameter does not supply the inner exception value to the constructor.

The following table shows the initial property values for an instance of TrackingProfileDeserializationException.

Property Value
InnerException The inner exception reference.
Message The error message string.
ValidationEventArgs An empty IList.

Applies to