Class HttpInvokeResponseHeader
Provides information about HTTP header that must be extracted from the response message and stored in a context property.
Inherited Members
Namespace: Nevatech.Vsb.Repository.Processing
Assembly: Nevatech.Vsb.Repository.dll
Syntax
[DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02", Name = "ResponseHeader")]
public sealed class HttpInvokeResponseHeader : IEquatable<HttpInvokeResponseHeader>, IValidator
Constructors
HttpInvokeResponseHeader()
Declaration
public HttpInvokeResponseHeader()
Fields
ElementName
Name of the root element when object is serialized to XML.
Declaration
public const string ElementName = "RESPONSE-HEADER"
Field Value
| Type | Description |
|---|---|
| string |
Properties
ErrorMessage
Gets the summary of validation errors populated by the call to Validate() method.
Declaration
public string ErrorMessage { get; }
Property Value
| Type | Description |
|---|---|
| string |
HeaderName
Gets or sets the valid HTTP response header name that needs to be extracted.
Declaration
[DataMember]
public string HeaderName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PropertyName
Gets or sets the context property name that will be populated with the header value.
Declaration
[DataMember]
public string PropertyName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Equals(HttpInvokeResponseHeader)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(HttpInvokeResponseHeader other)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpInvokeResponseHeader | other | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified object is equal to the current object; otherwise, false. |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | True if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Returns hash code for the value of this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | Hash code for the value of this instance. |
Overrides
ToString()
Returns string representation of the object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | String representing the object's content. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
| Type | Description |
|---|---|
| bool | True if state is valid; otherwise, false. |