Class DataStoreClientBase<TContractType>
- Namespace
- DevExpress.Xpo.DB
- Assembly
- DevExpress.Xpo.v24.1.dll
public class DataStoreClientBase<TContractType> : ClientBase<TContractType>, IDataStore, ICommandChannel where TContractType : class, IDataStoreWarpService
Type Parameters
TContractType
- Inheritance
-
DataStoreClientBase<TContractType>
- Implements
-
IDataStore
ICommandChannel
- Derived
-
Constructors
DataStoreClientBase(Binding, EndpointAddress)
public DataStoreClientBase(Binding binding, EndpointAddress remoteAddress)
Parameters
binding
Binding
remoteAddress
EndpointAddress
DataStoreClientBase(string)
public DataStoreClientBase(string configName)
Parameters
configName
string
Properties
Channel
protected TContractType Channel { get; }
Property Value
- TContractType
Methods
ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R>)
protected Task<OperationResult<R>> ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R> predicate)
Parameters
predicate
OperationResultChannelPredicateAsync<R>
Returns
- Task<OperationResult<R>>
Type Parameters
R
ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R>, Func<Exception, bool>)
protected Task<OperationResult<R>> ExecuteClientAsync<R>(OperationResultChannelPredicateAsync<R> predicate, Func<Exception, bool> exceptionHandler)
Parameters
predicate
OperationResultChannelPredicateAsync<R>
exceptionHandler
Func<Exception, bool>
Returns
- Task<OperationResult<R>>
Type Parameters
R
ExecuteClient<R>(OperationResultChannelPredicate<R>)
public OperationResult<R> ExecuteClient<R>(OperationResultChannelPredicate<R> predicate)
Parameters
predicate
OperationResultChannelPredicate<R>
Returns
- OperationResult<R>
Type Parameters
R
ExecuteClient<R>(OperationResultChannelPredicate<R>, Func<Exception, bool>)
public OperationResult<R> ExecuteClient<R>(OperationResultChannelPredicate<R> predicate, Func<Exception, bool> exceptionHandler)
Parameters
predicate
OperationResultChannelPredicate<R>
exceptionHandler
Func<Exception, bool>
Returns
- OperationResult<R>
Type Parameters
R
HandleCommandChannelException(Exception)
protected virtual bool HandleCommandChannelException(Exception ex)
Parameters
ex
Exception
Returns
- bool
HandleModifyDataException(Exception)
protected virtual bool HandleModifyDataException(Exception ex)
Parameters
ex
Exception
Returns
- bool
HandleSelectDataException(Exception)
protected virtual bool HandleSelectDataException(Exception ex)
Parameters
ex
Exception
Returns
- bool
HandleUpdateSchemaException(Exception)
protected virtual bool HandleUpdateSchemaException(Exception ex)
Parameters
ex
Exception
Returns
- bool
OnClientChannelCreated(object)
protected virtual void OnClientChannelCreated(object channel)
Parameters
channel
object
Events
ClientChannelCreated
public event ClientChannelCreatedHandler ClientChannelCreated
Event Type
- ClientChannelCreatedHandler
GlobalDataClientChannelCreated
public static event ClientChannelCreatedHandler GlobalDataClientChannelCreated
Event Type
- ClientChannelCreatedHandler