Freigeben über


IErrorInfo.GetDescription(String) Method

Definition

Returns a string describing the error.

public:
 int GetDescription([Runtime::InteropServices::Out] System::String ^ % pbstrDescription);
int GetDescription([Runtime::InteropServices::Out] std::wstring const & & pbstrDescription);
public int GetDescription (out string pbstrDescription);
abstract member GetDescription : string -> int
Public Function GetDescription (ByRef pbstrDescription As String) As Integer

Parameters

pbstrDescription
String

[out] Pointer to string describing the error.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to