Share via


ManagementPackException.ToString Method

Returns a string that contains the error message from the current exception with the error message from the inner exception appended to the current error message.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.OperationsManager.Common (in microsoft.enterprisemanagement.operationsmanager.common.dll)

Usage

'Usage
Dim instance As ManagementPackException
Dim returnValue As String

returnValue = instance.ToString

Syntax

'Declaration
Public Overrides Function ToString As String
public override string ToString ()
public:
virtual String^ ToString () override
public String ToString ()
public override function ToString () : String

Return Value

Returns a string that contains the error message from the current exception with the error message from the inner exception appended to the current error message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackException Class
ManagementPackException Members
Microsoft.EnterpriseManagement.Common Namespace

Send comments about this topic to Microsoft.