Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

SEHException Constructor (String)

Initializes a new instance of the SEHException class with a specified message.

Namespace:  System.Runtime.InteropServices
Assemblies:   mscorlib (in mscorlib.dll)
  System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)

public SEHException(
	string message
)

Parameters

message
Type: System.String

The message that indicates the reason for the exception.

SEHException inherits from ExternalException. This constructor sets the properties of the Exception object as shown in the following table.

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

Message

message.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft