Class HttpInvokeRequestHeader
Provides information about HTTP header that must be added to the request message.
Inheritance
Inherited Members
Namespace: Nevatech.Vsb.Repository.Processing
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public sealed class HttpInvokeRequestHeader : IEquatable<HttpInvokeRequestHeader>, IValidator
Constructors
HttpInvokeRequestHeader()
Declaration
public HttpInvokeRequestHeader()
Fields
ElementName
Name of the root element when object is serialized to XML.
Declaration
public const string ElementName = "REQUEST-HEADER"
Field Value
Type | Description |
---|---|
System.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 |
---|---|
System.String |
HeaderName
Gets or sets the valid HTTP request header name that needs to be added.
Declaration
public string HeaderName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
HeaderValue
Gets or sets the HTTP request header value. It may contain the context property tokens.
Declaration
public string HeaderValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Equals(HttpInvokeRequestHeader)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(HttpInvokeRequestHeader other)
Parameters
Type | Name | Description |
---|---|---|
HttpInvokeRequestHeader | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.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 |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String | String representing the object's content. |
Overrides
Validate()
Evaluates the state of this object.
Declaration
public bool Validate()
Returns
Type | Description |
---|---|
System.Boolean | True if state is valid; otherwise, false. |