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
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
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
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 |
---|---|
Boolean | 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 |
---|---|
Boolean | 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 |
---|---|
Int32 | 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 |
---|---|
Boolean | True if state is valid; otherwise, false. |