Share via


DkmException Constructors

Definition

Overloads

DkmException(DkmExceptionCode)

Create a new exception instance. To enable native-interop scenarios, this exception system is error code based, so there is no excepion string.

DkmException(SerializationInfo, StreamingContext)

DkmException(DkmExceptionCode)

Create a new exception instance. To enable native-interop scenarios, this exception system is error code based, so there is no excepion string.

public:
 DkmException(Microsoft::VisualStudio::Debugger::DkmExceptionCode code);
public:
 DkmException(Microsoft::VisualStudio::Debugger::DkmExceptionCode code);
 DkmException(Microsoft::VisualStudio::Debugger::DkmExceptionCode code);
public DkmException (Microsoft.VisualStudio.Debugger.DkmExceptionCode code);
new Microsoft.VisualStudio.Debugger.DkmException : Microsoft.VisualStudio.Debugger.DkmExceptionCode -> Microsoft.VisualStudio.Debugger.DkmException
Public Sub New (code As DkmExceptionCode)

Parameters

code
DkmExceptionCode

The HRESULT code for this exception. Using HRESULT values that are defined outside the range of this enumerator are acceptable, but not encouraged.

Applies to

DkmException(SerializationInfo, StreamingContext)

protected:
 DkmException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DkmException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.Debugger.DkmException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.Debugger.DkmException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to