WorkflowMarkupSerializationException Constructor (String, Exception, Int32, Int32)

WorkflowMarkupSerializationException Constructor (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.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

Public Sub New (
	message As String,
	innerException As Exception,
	lineNumber As Integer,
	columnNumber As Integer
)

Parameters

message
Type: System.String

A string that contains message that describes the error.

innerException
Type: System.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
Type: System.Int32

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

columnNumber
Type: System.Int32

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft