Class ResultDocList
Resultado da operação pretendida
Inheritance
System.Object
ResultDocList
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: GlobalSist.Server.WMS.WCF.Response
Assembly: GlobalSist.Server.WMS.dll
Syntax
public class ResultDocList
Constructors
ResultDocList()
Declaration
public ResultDocList()
Properties
Docs
Obtém ou define od documentos.
Declaration
public List<ResultDoc> Docs { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<ResultDoc> | The docs. |
ErrorMessage
Obtém ou define a mensagem de erro
Declaration
public string ErrorMessage { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Handled
Obtém ou define se o erro foi tratado
Declaration
public bool Handled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Succedded
Obtém ou define se concluíu com sucesso
Declaration
public bool Succedded { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
FaultedResult(String, String, String)
Erro ao realizar acção
Declaration
public static ResultDocList FaultedResult(string ERPCompanyName, string errorMessage, string stackTrace)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ERPCompanyName | Nome da empresa do ERP. |
| System.String | errorMessage | A mensagem de erro. |
| System.String | stackTrace | Stack trace. |
Returns
| Type | Description |
|---|---|
| ResultDocList |
HandledResult(String, String, String)
Erro ao realizar acção, mas o mesmo foi tratado internamente.
Declaration
public static ResultDocList HandledResult(string ERPCompanyName, string errorMessage, string stackTrace)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ERPCompanyName | Nome da empresa do ERP. |
| System.String | errorMessage | A mensagem de erro. |
| System.String | stackTrace | Stack trace. |
Returns
| Type | Description |
|---|---|
| ResultDocList |
SucceddedResult(String, String, List<ResultDoc>)
Acção concretizada com sucesso
Declaration
public static ResultDocList SucceddedResult(string ERPCompanyName, string methodName, List<ResultDoc> docs)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ERPCompanyName | Nome da empresa do ERP. |
| System.String | methodName | Nome do metodo invocado. |
| System.Collections.Generic.List<ResultDoc> | docs | Lista de documentos |
Returns
| Type | Description |
|---|---|
| ResultDocList |