Редагувати

Поділитися через


ICorDebugMDA::GetName Method

Gets a string containing the name of the managed debugging assistant (MDA) represented by ICorDebugMDA.

Syntax

HRESULT GetName (
    [in] ULONG32   cchName,
    [out] ULONG32  *pcchName,
    [out, size_is(cchName), length_is(*pcchName)]
        WCHAR      szName[]
);

Parameters

cchName [in] The size of the szName array.

pcchName [out] A pointer to the length of the name.

szName [out] An array in which to store the name.

Remarks

MDA names are unique values. The GetName method is a convenient performance alternative to getting the XML stream and extracting the name from the stream based on the schema.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also