ApiResultT Class

API回應結果

Definition

Namespace: eBizprise.Framework.Common.Model
Assembly: eBizprise.Framework.Common (in eBizprise.Framework.Common.dll) Version: 25.0.1.0+9af286275430f5cdff066120a88db0d7edbaef7c
C#
public class ApiResult<T>
Inheritance
Object    ApiResultT

Type Parameters

T

Constructors

ApiResultTInitializes a new instance of the ApiResultT class

Properties

ErrorMessage 錯誤訊息
Exception 異常訊息
IsSuccess 是否執行成功
Payload 原始回傳資訊
RequestDateTime 請求時間
ResponseDateTime 回應時間
Result 回傳資訊

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

ToBsonString 轉換Bson字串
(Defined by SerializeExtend)
ToBsonString 轉換Bson字串
(Defined by SerializeExtend)
ToJsonString 轉換Json字串
(Defined by SerializeExtend)
ToJsonString 轉換Json字串
(Defined by SerializeExtend)
ToXmlString 轉換Xml字串
(Defined by SerializeExtend)
WriteJsonFile 寫入Json格式檔案
(Defined by SerializeExtend)

See Also