Kernel32WerUnregisterCustomMetadata Method
Removes an item of app-specific metadata being collected during error reporting for the application.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
public static HResult WerUnregisterCustomMetadata(
string key
)
<DllImportAttribute("Kernel32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ExactSpelling := true, ThrowOnUnmappableChar := true>]
Public Shared Function WerUnregisterCustomMetadata (
key As String
) As HResult
Dim key As String
Dim returnValue As HResult
returnValue = Kernel32.WerUnregisterCustomMetadata(key)
public:
[DllImportAttribute(L"Kernel32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)]
static HResult WerUnregisterCustomMetadata(
String^ key
)
[<DllImportAttribute("Kernel32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ExactSpelling = true, ThrowOnUnmappableChar = true)>]
static member WerUnregisterCustomMetadata :
key : string -> HResult
No code example is currently available or this language may not be supported.
- key String
-
The "key" string for the metadata element being removed.
It must have been previously registered with the WerRegisterCustomMetadata(String, String) function.
HResult
Returns
S_OK on success, or an
HResult error code on failure.