IXCLRDataExceptionState::GetString Method

Gets the standard element type of this type definition.

Note

This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug and ICorProfiler APIs when possible.

Syntax

HRESULT GetString(
    [in] ULONG32 bufLen,
    [out] ULONG32 *strLen,
    [out, size_is(bufLen)] WCHAR str[]
);

Parameters

bufLen
[in] The length in characters of the str buffer.

strLen
[out] The number of characters in the exception string written to the str buffer.

str
[out] The exception string.

Remarks

The provided method is part of the IXCLRDataExceptionState interface and corresponds to the 9th slot of the virtual method table.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also