HttpResponseMessage Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HttpResponseMessage() |
Initializes a new instance of the HttpResponseMessage class. |
HttpResponseMessage(HttpStatusCode) |
Initializes a new instance of the HttpResponseMessage class with a specific HttpStatusCode. |
HttpResponseMessage()
Initializes a new instance of the HttpResponseMessage class.
public:
HttpResponseMessage();
HttpResponseMessage();
public HttpResponseMessage();
function HttpResponseMessage()
Public Sub New ()
See also
Applies to
HttpResponseMessage(HttpStatusCode)
Initializes a new instance of the HttpResponseMessage class with a specific HttpStatusCode.
public:
HttpResponseMessage(HttpStatusCode statusCode);
HttpResponseMessage(HttpStatusCode const& statusCode);
public HttpResponseMessage(HttpStatusCode statusCode);
function HttpResponseMessage(statusCode)
Public Sub New (statusCode As HttpStatusCode)
Parameters
- statusCode
- HttpStatusCode
The status code of the HTTP response.
See also
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin