Partager via


TeamFoundationServiceException Constructor (String, Exception)

Initializes a new instance of the TeamFoundationServiceException class by using the specified message and inner exception.

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

Syntax

'Déclaration
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 user-readable message that states the error.
  • innerException
    Type: System.Exception
    The exception that caused this exception.

.NET Framework Security

See Also

Reference

TeamFoundationServiceException Class

TeamFoundationServiceException Overload

Microsoft.TeamFoundation.Framework.Client Namespace