Share via


TeamFoundationServiceException Constructor (String, Int32)

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, _
    errorCode As Integer _
)
public TeamFoundationServiceException(
    string message,
    int errorCode
)
public:
TeamFoundationServiceException(
    String^ message, 
    int errorCode
)
new : 
        message:string * 
        errorCode:int -> TeamFoundationServiceException
public function TeamFoundationServiceException(
    message : String, 
    errorCode : int
)

Parameters

  • message
    Type: System.String

    A human-readable message that states the error.

  • errorCode
    Type: System.Int32

    Application-defined error code.

.NET Framework Security

See Also

Reference

TeamFoundationServiceException Class

TeamFoundationServiceException Overload

Microsoft.TeamFoundation.Framework.Server Namespace