ClientException Constructor (String, Int32, Exception)
Initializes a new ClientException instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
id As Integer, _
innerException As Exception _
)
public ClientException(
string message,
int id,
Exception innerException
)
public:
ClientException(
String^ message,
int id,
Exception^ innerException
)
new :
message:string *
id:int *
innerException:Exception -> ClientException
public function ClientException(
message : String,
id : int,
innerException : Exception
)
Parameters
message
Type: System.StringThe message for the exception.
id
Type: System.Int32The ID of the error to assign.
innerException
Type: System.ExceptionThe exception object to encapsulate.
.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.