Table of Contents

Constructor ReadMemoryFailureException

Namespace
Microsoft.Samples.Debugging.Native
Assembly
NativeDebugWrappers.dll

ReadMemoryFailureException(IntPtr, int)

Initialize a new exception

public ReadMemoryFailureException(IntPtr address, int countBytes)

Parameters

address IntPtr

address where read failed

countBytes int

size of read attempted

ReadMemoryFailureException(IntPtr, int, Exception)

public ReadMemoryFailureException(IntPtr address, int countBytes, Exception innerException)

Parameters

address IntPtr
countBytes int
innerException Exception

ReadMemoryFailureException()

Initializes a new instance of the ReadMemoryFailureException.

public ReadMemoryFailureException()

ReadMemoryFailureException(string)

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

public ReadMemoryFailureException(string message)

Parameters

message string

The message that describes the error.

ReadMemoryFailureException(string, Exception)

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

public ReadMemoryFailureException(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.

ReadMemoryFailureException(SerializationInfo, StreamingContext)

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

protected ReadMemoryFailureException(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.