다음을 통해 공유


TeamFoundationServiceException Constructor (String, Int32, Boolean)

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

Parameters

  • message
    Type: System.String

    A human-readable message that states the error.

  • errorCode
    Type: System.Int32

    Application-defined error code.

  • logException
    Type: System.Boolean

    Indicate whether this exception should be logged.

.NET Framework Security

See Also

Reference

TeamFoundationServiceException Class

TeamFoundationServiceException Overload

Microsoft.TeamFoundation.Framework.Server Namespace