Share via


ICorDebugMDA::GetName Method

Gets a string containing the name of this Managed Debugging Assistant (MDA).

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

Parameters

Parameter Description

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICorDebugMDA Interface

Concepts

Diagnosing Errors with Managed Debugging Assistants