This documentation is archived and is not being maintained.
TeamFoundationServerInvalidResponseException Constructor (String, Exception, HttpStatusCode, String)
Visual Studio 2013
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)
public:
TeamFoundationServerInvalidResponseException(
String^ message,
Exception^ innerException,
HttpStatusCode statusCode,
String^ responseData
)
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.
- 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.
Show: