TeamFoundationServiceException Constructor (String, Int32, Boolean, Exception)
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, _
innerException As Exception _
)
public TeamFoundationServiceException(
string message,
int errorCode,
bool logException,
Exception innerException
)
public:
TeamFoundationServiceException(
String^ message,
int errorCode,
bool logException,
Exception^ innerException
)
new :
message:string *
errorCode:int *
logException:bool *
innerException:Exception -> TeamFoundationServiceException
public function TeamFoundationServiceException(
message : String,
errorCode : int,
logException : boolean,
innerException : Exception
)
Parameters
message
Type: System.StringA human-readable message that states the error.
errorCode
Type: System.Int32Application-defined error code.
- logException
Type: System.Boolean
- innerException
Type: System.Exception
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationServiceException Class