Class OperationResult
- Namespace
- DevExpress.Xpo.DB
- Assembly
- DevExpress.Xpo.v24.1.dll
The result of an operation performed by the DataStoreService, CachedDataStoreService, or SerializableObjectLayerService.
public class OperationResult
- Inheritance
-
OperationResult
- Derived
- Inherited Members
Constructors
OperationResult()
This member supports the internal infrastructure and is not intended to be used directly from your code.
public OperationResult()
OperationResult(ServiceException, string)
This member supports the internal infrastructure and is not intended to be used directly from your code.
public OperationResult(ServiceException errorType, string error)
Parameters
errorType
ServiceExceptionerror
string
Fields
Error
This member supports the internal infrastructure and is not intended to be used directly from your code.
public string Error
Field Value
ErrorType
This member supports the internal infrastructure and is not intended to be used directly from your code.
public ServiceException ErrorType
Field Value
ExecuteClientMaxRetryCount
Specifies the maximum number of retries to be made when the execution of an operation fails. The default value is 3.
public static int ExecuteClientMaxRetryCount
Field Value
Methods
DeserializeSecurityException(string)
This method supports the internal infrastructure and is not intended to be used directly from your code.
public static ObjectLayerSecurityException DeserializeSecurityException(string data)
Parameters
data
string
Returns
ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R>, Action)
This member supports the internal infrastructure and is not intended to be used directly from your code.
public static Task<OperationResult<R>> ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R> predicate, Action resetChannelAction)
Parameters
predicate
OperationResultChannelPredicateAsync<R>resetChannelAction
Action
Returns
- Task<OperationResult<R>>
Type Parameters
R
ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R>, Func<Exception, bool>, Action)
This member supports the internal infrastructure and is not intended to be used directly from your code.
public static Task<OperationResult<R>> ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R> predicate, Func<Exception, bool> exceptionHandler, Action resetChannelAction)
Parameters
predicate
OperationResultChannelPredicateAsync<R>exceptionHandler
Func<Exception, bool>resetChannelAction
Action
Returns
- Task<OperationResult<R>>
Type Parameters
R
ExecuteClient<T, N>(OperationResultChannelPredicate<T>, Func<Exception, bool>, ref N)
This member supports the internal infrastructure and is not intended to be used directly from your code.
public static OperationResult<T> ExecuteClient<T, N>(OperationResultChannelPredicate<T> predicate, Func<Exception, bool> exceptionHandler, ref N channel)
Parameters
predicate
OperationResultChannelPredicate<T>exceptionHandler
Func<Exception, bool>channel
N
Returns
Type Parameters
T
N
ExecuteClient<T, N>(OperationResultChannelPredicate<T>, ref N)
This member supports the internal infrastructure and is not intended to be used directly from your code.
public static OperationResult<T> ExecuteClient<T, N>(OperationResultChannelPredicate<T> predicate, ref N channel)
Parameters
predicate
OperationResultChannelPredicate<T>channel
N
Returns
Type Parameters
T
N
SerializeSecurityException(ObjectLayerSecurityException)
This method supports the internal infrastructure and is not intended to be used directly from your code.
public static string SerializeSecurityException(ObjectLayerSecurityException securityException)
Parameters
securityException
ObjectLayerSecurityException