Bewerken

Share via


WorkflowMarkupSerializationException Constructors

Definition

Initializes a new instance of the WorkflowMarkupSerializationException class.

Overloads

WorkflowMarkupSerializationException()

Initializes a new instance of the WorkflowMarkupSerializationException class.

WorkflowMarkupSerializationException(String)

Initializes a new instance of the WorkflowMarkupSerializationException class by using the specified error message.

WorkflowMarkupSerializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the WorkflowMarkupSerializationException class by using serialized data.

WorkflowMarkupSerializationException(String, Exception)

Initializes a new instance of the WorkflowMarkupSerializationException class by using an error message and an exception.

WorkflowMarkupSerializationException(String, Int32, Int32)

Initializes a new instance of the WorkflowMarkupSerializationException class by using an error message and the line and column numbers that caused the exception to be thrown.

WorkflowMarkupSerializationException(String, Exception, Int32, Int32)

Initializes a new instance of the WorkflowMarkupSerializationException class by using an error message, an exception, and the line and column numbers that caused the exception to be thrown.

WorkflowMarkupSerializationException()

Initializes a new instance of the WorkflowMarkupSerializationException class.

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

Applies to

WorkflowMarkupSerializationException(String)

Initializes a new instance of the WorkflowMarkupSerializationException class by using the specified error message.

public:
 WorkflowMarkupSerializationException(System::String ^ message);
public WorkflowMarkupSerializationException (string message);
new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException : string -> System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException
Public Sub New (message As String)

Parameters

message
String

A string that contains message that describes the error.

Applies to

WorkflowMarkupSerializationException(SerializationInfo, StreamingContext)

Initializes a new instance of the WorkflowMarkupSerializationException class by using serialized data.

protected:
 WorkflowMarkupSerializationException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WorkflowMarkupSerializationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

A SerializationInfo that contains the serialized object data about the WorkflowMarkupSerializationException being thrown.

context
StreamingContext

A StreamingContext that contains the context information about the source or destination of the bits the serializer was using.

Applies to

WorkflowMarkupSerializationException(String, Exception)

Initializes a new instance of the WorkflowMarkupSerializationException class by using an error message and an exception.

public:
 WorkflowMarkupSerializationException(System::String ^ message, Exception ^ innerException);
public WorkflowMarkupSerializationException (string message, Exception innerException);
new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException : string * Exception -> System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A string that contains message that describes the error.

innerException
Exception

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

Applies to

WorkflowMarkupSerializationException(String, Int32, Int32)

Initializes a new instance of the WorkflowMarkupSerializationException class by using an error message and the line and column numbers that caused the exception to be thrown.

public:
 WorkflowMarkupSerializationException(System::String ^ message, int lineNumber, int columnNumber);
public WorkflowMarkupSerializationException (string message, int lineNumber, int columnNumber);
new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException : string * int * int -> System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException
Public Sub New (message As String, lineNumber As Integer, columnNumber As Integer)

Parameters

message
String

A string that contains message that describes the error.

lineNumber
Int32

The line number in the object or XOML file that caused the exception to be thrown.

columnNumber
Int32

The column position in the object or XOML file that caused the exception to be thrown.

Applies to

WorkflowMarkupSerializationException(String, Exception, Int32, Int32)

Initializes a new instance of the WorkflowMarkupSerializationException class by using an error message, an exception, and the line and column numbers that caused the exception to be thrown.

public:
 WorkflowMarkupSerializationException(System::String ^ message, Exception ^ innerException, int lineNumber, int columnNumber);
public WorkflowMarkupSerializationException (string message, Exception innerException, int lineNumber, int columnNumber);
new System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException : string * Exception * int * int -> System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationException
Public Sub New (message As String, innerException As Exception, lineNumber As Integer, columnNumber As Integer)

Parameters

message
String

A string that contains message that describes the error.

innerException
Exception

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

lineNumber
Int32

The line number in the object or XOML file that caused the exception to be thrown.

columnNumber
Int32

The column position in the object or XOML file that caused the exception to be thrown.

Applies to