|
| NotificationHandlingServiceClient (Binding binding, EndpointAddress endpoint) |
|
NotificationQueryResult | GetNotifications (string notificationConditionXml, int lastKnownGeneration) |
| Retrieve all notifications that satisfies condition, that are newer than "lastKnownGeneration".
|
|
bool | SetNotificationUserData (Guid notificationId, UserDataDefinition userData) |
| Most of the fields in a notifications are locked and cannot be changed. The clients can only modify certain user data by using this method.
|
|
void | SetNotificationLogInformation (NotificationLogInfo logInfo) |
| Setup notification log. All new events will be logged based on this setting, possibly changing log.
|
|
bool | RestoreNotificationLog () |
| Restores notifications from one or more logs. Note that any ongoing logging will be flushed and closed.
|
|
virtual void | Connect () |
|
virtual bool | Connect (int timeoutMs) |
|
virtual void | ConnectAndWait () |
|
void | ChangeServiceAddress (Binding binding, EndpointAddress endpoint) |
|
void | Dispose () |
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
NotificationQueryResult | GetNotifications (string notificationConditionXml, int lastKnownGeneration) |
| Retrieve all notifications that satisfies condition, that are newer than "lastKnownGeneration".
|
|
bool | SetNotificationUserData (Guid notificationId, UserDataDefinition userData) |
| Most of the fields in a notifications are locked and cannot be changed. The clients can only modify certain user data by using this method.
|
|
void | SetNotificationLogInformation (NotificationLogInfo logInfo) |
| Setup notification log. All new events will be logged based on this setting, possibly changing log.
|
|
bool | RestoreNotificationLog () |
| Restores notifications from one or more logs. Note that any ongoing logging will be flushed and closed.
|
|
void | Connect () |
| Connects to a specific service by using the provided binding and endpoint. Returns immediately and tries to connect in the background.
|
|
bool | Connect (int msTimeout) |
| Connects to a specific service by using the provided binding and endpoint. Tries to connect for up to "msTimeout" milliseconds, returns true if successful.
|
|
void | ConnectAndWait () |
| Connects to a specific service by using the provided binding and endpoint.
Tries to connect to the service without returning before a connection is esatablished.
|
|
void | ChangeServiceAddress (Binding binding, EndpointAddress endpoint) |
| Change service address during runtime. Proxy users affected by this must subscribe to ServiceAddressChanged event.
|
|
|
| BaseServiceProxy (Binding binding, EndpointAddress endpoint) |
| Constructor.
|
|
void | Abort () |
| Causes the service channel to transition immediately from its current state into the closing state.
|
|
virtual void | OnChannelFaulted (object sender, System.EventArgs e) |
| Method invoked when the service channel is faulted.
|
|
virtual void | OnChannelClosing (object sender, System.EventArgs e) |
| Method invoked when the service channel is closing.
|
|
virtual void | OnChannelClosed (object sender, System.EventArgs e) |
| Method invoked when the service channel is closed.
|
|
RetT | DoServiceCall< RetT > (Func< RetT > f, RetT defaultRet, bool externalExceptionHandler=false) |
| Function wrapper for performing service calls.
|
|
void | DoServiceCall (Action a, bool externalExceptionHandler=false) |
| Function wrapper for performing service calls.
|
|
virtual void | Dispose (bool disposing) |
| Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. If overridden, call base.Dispose(disposing) to make sure all base resources are freed.
|
|
ChannelFactory< TServiceClient > | _channelFactory |
|
TServiceClient | ServiceClient |
|
CommunicationState | State [get] |
|
bool | Connected [get, protected set] |
|
ServiceState | ServiceState [get, protected set] |
|
IServiceClientExceptionHandler | ExceptionHandler [get, set] |
|
bool | ValidateServiceSession [get, set] |
|
EndpointAddress | Endpoint [get] |
|
bool | Connected [get] |
| Get if the client is connected.
|
|
ServiceState | ServiceState [get] |
| Get service state.
|
|
IServiceClientExceptionHandler | ExceptionHandler [get, set] |
| Exception handler for service client/proxy.
|
|
bool | ValidateServiceSession [get, set] |
| Get or set if service session validation is performed before each service call.
|
|
EndpointAddress | Endpoint [get] |
| Endpoint address of service.
|
|
ErrorOccuredEventHandler | ErrorOccured |
|
ServiceConnectedEventHandler | ServiceConnected |
|
ServiceRestartedEventHandler | ServiceRestarted |
|
ServiceAddressChangedEventHandler | ServiceAddressChanged |
|
ErrorOccuredEventHandler | ErrorOccured |
| Event raised when an error occures.
|
|
ServiceConnectedEventHandler | ServiceConnected |
| Event raised when the connection to the service is established.
|
|
ServiceRestartedEventHandler | ServiceRestarted |
| Event raised when the service has restarted.
|
|
ServiceAddressChangedEventHandler | ServiceAddressChanged |
| Event raised when the service has restarted.
|
|