HttpComponentResponseException Constructor
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
httpStatusCode As HttpStatusCode, _
message As String _
)
public HttpComponentResponseException(
HttpStatusCode httpStatusCode,
string message
)
public:
HttpComponentResponseException(
HttpStatusCode httpStatusCode,
String^ message
)
new :
httpStatusCode:HttpStatusCode *
message:string -> HttpComponentResponseException
public function HttpComponentResponseException(
httpStatusCode : HttpStatusCode,
message : String
)
Parameters
- httpStatusCode
Type: System.Net.HttpStatusCode
- message
Type: System.String
.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.