Gets the name of the application domain.
HRESULT GetName ( [in] ULONG32 cchName, [out] ULONG32 *pcchName, [out, size_is(cchName), length_is(*pcchName)] WCHAR szName );
[in] The size of the
szName array. Set this value to zero to put this method in query mode.
[out] A pointer to the size of the name or the number of characters actually returned in
szName. In query mode, this value lets the caller know how large a buffer to allocate for the name.
[out] An array that stores the name of the application domain.
A debugger calls the
GetName method once to get the size of a buffer needed for the name. The debugger allocates the buffer, and then calls the method a second time to fill the buffer. The first call, to get the size of the name, is referred to as query mode.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
.NET Framework Versions: Available since 1.0