IErrorInfo.GetSource(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the programmatic identifier (ProgID) for the class or application returning the error.
public:
int GetSource([Runtime::InteropServices::Out] System::String ^ % pBstrSource);
int GetSource([Runtime::InteropServices::Out] std::wstring const & & pBstrSource);
public int GetSource (out string pBstrSource);
abstract member GetSource : string -> int
Public Function GetSource (ByRef pBstrSource As String) As Integer
Parameters
- pBstrSource
- String
[out] Pointer to a string containing the programmatic identifier.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.