Partager via


TeamFoundationServiceException Constructor (String, Exception)

Initializes an exception with the specified error message and an inner exception that caused this exception to be raised.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
public TeamFoundationServiceException(
    string message,
    Exception innerException
)
public:
TeamFoundationServiceException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> TeamFoundationServiceException
public function TeamFoundationServiceException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String

    A human-readable message that states the error.

.NET Framework Security

See Also

Reference

TeamFoundationServiceException Class

TeamFoundationServiceException Overload

Microsoft.TeamFoundation.Framework.Server Namespace