Class StatusHelper
Inheritance
System.Object
StatusHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class StatusHelper
Methods
SetStatus(Int32, BaseAnswer)
Declaration
public static void SetStatus(int statusCode, BaseAnswer a)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | statusCode | |
BaseAnswer | a |
SetStatus(Int32, BaseAnswer, String)
Declaration
public static void SetStatus(int statusCode, BaseAnswer a, string customMessage)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | statusCode | |
BaseAnswer | a | |
System.String | customMessage |
SetStatus(HttpStatusCode, BaseAnswer)
Declaration
public static void SetStatus(HttpStatusCode statusCode, BaseAnswer a)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | statusCode | |
BaseAnswer | a |
SetStatus(HttpStatusCode, BaseAnswer, String)
Declaration
public static void SetStatus(HttpStatusCode statusCode, BaseAnswer a, string customMessage)
Parameters
Type | Name | Description |
---|---|---|
System.Net.HttpStatusCode | statusCode | |
BaseAnswer | a | |
System.String | customMessage |