Class OperationResult
Operation result
Carrier object for OperationResult.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class OperationResult : Object
Constructors
OperationResult()
Default constructor
Declaration
public OperationResult()
Properties
Message
Success/Error message. This can be a symbol ([SR_xxxx])
Declaration
public virtual string Message { get; set; }
Property Value
Type | Description |
---|---|
String |
Success
Indicates if the operation was successful.
Declaration
public virtual bool Success { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |