HttpResponseMessageProperty Class
Provides access to the HTTP response in order to access and respond to the additional information made available for requests over the HTTP protocol.
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The HttpResponseMessageProperty type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | HttpResponseMessageProperty | Initializes a new instance of the HttpResponseMessageProperty class. |
| Name | Description | |
|---|---|---|
![]() ![]() | Headers | Gets the HTTP headers from the HTTP response. |
![]() ![]() ![]() | Name | Gets the name of the message property associated with the HttpResponseMessageProperty class. |
![]() ![]() | StatusCode | Gets or sets the status code of the current HTTP response to which this property is attached. |
![]() ![]() | StatusDescription | Gets or sets the description of the status code of the current HTTP response to which this property is attached. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
This is a general-purpose class that gives you direct access to the HTTP response information, which could be used for encapsulation of HTTP-specific information. One use of this class is to support services implemented in accordance with the Representational State Transfer (REST) architecture.
This class enables you to support the following scenarios:
Allows HTTP header (key, value) pairs to be set for each response.
Varies the status code and status description used for each response.
Note: |
|---|
This class can be used by HttpTransportBindingElement and related classes. |
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.





Note: