Share via


TeamFoundationServerException Constructor (String, Exception)

Initializes a new instance of the TeamFoundationServerException class with the specified message and inner exception that caused this exception.

Namespace:  Microsoft.TeamFoundation
Assembly:  Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)

Syntax

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

Parameters

  • message
    Type: System.String

    A human readable message that describes the error.

  • innerException
    Type: System.Exception

    The exception that caused this exception.

.NET Framework Security

See Also

Reference

TeamFoundationServerException Class

TeamFoundationServerException Overload

Microsoft.TeamFoundation Namespace