Share via


ICorDebugMDA::GetName Method

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

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 .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICorDebugMDA Interface

Concepts

Diagnosing Errors with Managed Debugging Assistants