共用方式為


TeamFoundationServiceException Constructor (Int32)

Initializes an exception with the specified error message.

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

Syntax

'Declaration
Public Sub New ( _
    errorCode As Integer _
)
public TeamFoundationServiceException(
    int errorCode
)
public:
TeamFoundationServiceException(
    int errorCode
)
new : 
        errorCode:int -> TeamFoundationServiceException
public function TeamFoundationServiceException(
    errorCode : int
)

Parameters

  • errorCode
    Type: System.Int32

    Application-defined error code for this exception.

.NET Framework Security

See Also

Reference

TeamFoundationServiceException Class

TeamFoundationServiceException Overload

Microsoft.TeamFoundation.Framework.Server Namespace