Sdílet prostřednictvím


DkmExceptionInformation.GetWinRTErrorInfo(String, String, String) Method

Definition

Provides developer-oriented additional information about the exception. This info should be displayed along with GetDescription and GetAdditionalInformation to clarify the cause of the error.

Location constraint: API must be called from a Monitor component (component level < 100,000).

public:
 void GetWinRTErrorInfo([Runtime::InteropServices::Out] System::String ^ % RestrictedDescription, [Runtime::InteropServices::Out] System::String ^ % RestrictedErrorReference, [Runtime::InteropServices::Out] System::String ^ % RestrictedCapabilitySid);
public void GetWinRTErrorInfo (out string RestrictedDescription, out string RestrictedErrorReference, out string RestrictedCapabilitySid);
public void GetWinRTErrorInfo (out string? RestrictedDescription, out string? RestrictedErrorReference, out string? RestrictedCapabilitySid);
member this.GetWinRTErrorInfo : string * string * string -> unit
Public Sub GetWinRTErrorInfo (ByRef RestrictedDescription As String, ByRef RestrictedErrorReference As String, ByRef RestrictedCapabilitySid As String)

Parameters

RestrictedDescription
String

[Out,Optional] RestrictedErrorInfo description of the exception. Due to security restrictions, this may not be available even if RestrictedErrorInfo is available for the exception.

RestrictedErrorReference
String

[Out,Optional] If present, used to retrieve IRestrictedErrorInfo via the RoResolvedRestrictedErrorInfoReference API.

RestrictedCapabilitySid
String

[Out,Optional] If present specifies the missing capability.

Applies to