DkmCppWinRTExceptionInformation.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Create(String, String, String, String, Int32) |
Create a new DkmCppWinRTExceptionInformation object instance. |
| Create(String, String, String, String, Int32, UInt64, ReadOnlyCollection<DkmInstructionAddress>) |
Create a new DkmCppWinRTExceptionInformation object instance. This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM). |
Create(String, String, String, String, Int32)
Create a new DkmCppWinRTExceptionInformation object instance.
public:
static Microsoft::VisualStudio::Debugger::Native::DkmCppWinRTExceptionInformation ^ Create(System::String ^ Description, System::String ^ RestrictedDescription, System::String ^ RestrictedReference, System::String ^ RestrictedCapabilitySid, int ExceptionHR);
public:
static Microsoft::VisualStudio::Debugger::Native::DkmCppWinRTExceptionInformation ^ Create(Platform::String ^ Description, Platform::String ^ RestrictedDescription, Platform::String ^ RestrictedReference, Platform::String ^ RestrictedCapabilitySid, int ExceptionHR);
static Microsoft::VisualStudio::Debugger::Native::DkmCppWinRTExceptionInformation Create(std::wstring const & Description, std::wstring const & RestrictedDescription, std::wstring const & RestrictedReference, std::wstring const & RestrictedCapabilitySid, int ExceptionHR);
public static Microsoft.VisualStudio.Debugger.Native.DkmCppWinRTExceptionInformation Create(string Description, string RestrictedDescription, string RestrictedReference, string RestrictedCapabilitySid, int ExceptionHR);
static member Create : string * string * string * string * int -> Microsoft.VisualStudio.Debugger.Native.DkmCppWinRTExceptionInformation
Public Shared Function Create (Description As String, RestrictedDescription As String, RestrictedReference As String, RestrictedCapabilitySid As String, ExceptionHR As Integer) As DkmCppWinRTExceptionInformation
Parameters
- Description
- String
[In] Basic non-restricted description of the exception.
- RestrictedDescription
- String
[In] Restricted description of the exception.
- RestrictedReference
- String
[In] Reference string used as a key to find restricted information when RestrictedReference is missing.
- RestrictedCapabilitySid
- String
[In] Security identifier of a missing capability if this exception was thrown for that reason.
- ExceptionHR
- Int32
[In] The failed HRESULT value that caused this exception to be thrown.
Returns
[Out] Result of this method call.
Applies to
Create(String, String, String, String, Int32, UInt64, ReadOnlyCollection<DkmInstructionAddress>)
Create a new DkmCppWinRTExceptionInformation object instance.
This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).
public:
static Microsoft::VisualStudio::Debugger::Native::DkmCppWinRTExceptionInformation ^ Create(System::String ^ Description, System::String ^ RestrictedDescription, System::String ^ RestrictedReference, System::String ^ RestrictedCapabilitySid, int ExceptionHR, System::UInt64 ErrorInfoAddress, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::DkmInstructionAddress ^> ^ CapturedStack);
public static Microsoft.VisualStudio.Debugger.Native.DkmCppWinRTExceptionInformation Create(string Description, string RestrictedDescription, string RestrictedReference, string RestrictedCapabilitySid, int ExceptionHR, ulong ErrorInfoAddress, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress> CapturedStack);
public static Microsoft.VisualStudio.Debugger.Native.DkmCppWinRTExceptionInformation Create(string Description, string RestrictedDescription, string RestrictedReference, string RestrictedCapabilitySid, int ExceptionHR, ulong ErrorInfoAddress, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress>? CapturedStack);
static member Create : string * string * string * string * int * uint64 * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.DkmInstructionAddress> -> Microsoft.VisualStudio.Debugger.Native.DkmCppWinRTExceptionInformation
Public Shared Function Create (Description As String, RestrictedDescription As String, RestrictedReference As String, RestrictedCapabilitySid As String, ExceptionHR As Integer, ErrorInfoAddress As ULong, CapturedStack As ReadOnlyCollection(Of DkmInstructionAddress)) As DkmCppWinRTExceptionInformation
Parameters
- Description
- String
[In] Basic non-restricted description of the exception.
- RestrictedDescription
- String
[In] Restricted description of the exception.
- RestrictedReference
- String
[In] Reference string used as a key to find restricted information when RestrictedReference is missing.
- RestrictedCapabilitySid
- String
[In] Security identifier of a missing capability if this exception was thrown for that reason.
- ExceptionHR
- Int32
[In] The failed HRESULT value that caused this exception to be thrown.
- ErrorInfoAddress
- UInt64
[In] The address of the IErrorInfo object associated with the exception. This is used to retrieve captured stack.
- CapturedStack
- ReadOnlyCollection<DkmInstructionAddress>
[In,Optional] If the exception contains a captured stack trace, specifies the addresses of the captured frames.
Returns
[Out] Result of this method call.