Delen via


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.

  • responseData
    Type: System.String

    A string representing the response data.

.NET Framework Security

See Also

Reference

TeamFoundationServerInvalidResponseException Class

TeamFoundationServerInvalidResponseException Overload

Microsoft.TeamFoundation Namespace