TeamFoundationServerInvalidResponseException Constructor (String, Exception, HttpStatusCode, String)
Initializes a new instance of the TeamFoundationServerInvalidResponseException with the specified message, inner exception, status code, and response data.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception, _
statusCode As HttpStatusCode, _
responseData As String _
)
public TeamFoundationServerInvalidResponseException(
string message,
Exception innerException,
HttpStatusCode statusCode,
string responseData
)
public:
TeamFoundationServerInvalidResponseException(
String^ message,
Exception^ innerException,
HttpStatusCode statusCode,
String^ responseData
)
new :
message:string *
innerException:Exception *
statusCode:HttpStatusCode *
responseData:string -> TeamFoundationServerInvalidResponseException
public function TeamFoundationServerInvalidResponseException(
message : String,
innerException : Exception,
statusCode : HttpStatusCode,
responseData : String
)
Parameters
- message
Type: System.String
A human readable message describing the exception.
- innerException
Type: System.Exception
The exception that caused this exception.
- statusCode
Type: System.Net.HttpStatusCode
The StatusCode of the HTTP response.
- responseData
Type: System.String
A string representing the response data.
.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
TeamFoundationServerInvalidResponseException Class