Table of Contents

Constructor CorException

Namespace
Microsoft.Samples.Debugging.CorDebug
Assembly
corapi.dll

CorException()

Initializes a new instance of the CorException.

public CorException()

CorException(string)

Initializes a new instance of the CorException with the specified error message.

public CorException(string message)

Parameters

message string

The message that describes the error.

CorException(string, Exception)

Initializes a new instance of the CorException with the specified error message and inner Exception.

public CorException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception.

CorException(SerializationInfo, StreamingContext)

Initializes a new instance of the CorException class with serialized data.

protected CorException(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context StreamingContext

The StreamingContext that contains contextual information about the source or destination.