This documentation is archived and is not being maintained.

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)

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.

Show: