C# Класс Thinktecture.ServiceModel.CommunicationObjectHelper

Contains the helper methods for managing the CommunicationObject's life time.
Показать файл Открыть проект

Открытые методы

Метод Описание
EnsureCleanup ( object channel, System.Action action ) : void

Invokes the specified delegate and cleans up the specified channel.

RetryCall ( System.Action action ) : void

Invokes the specified delegate and retries the service operation call.

RetryCall ( int retries, System.Action action ) : void

Invokes the specified delegate and retries the service operation call.

RetryCall ( int retries, int timeToWait, System.Action action ) : void

Invokes the specified delegate and retries the service operation call.

Приватные методы

Метод Описание
TryCloseCommunicationObject ( ICommunicationObject commObj ) : void

Tries to gracefully close communication object.

Описание методов

EnsureCleanup() публичный статический Метод

Invokes the specified delegate and cleans up the specified channel.
public static EnsureCleanup ( object channel, System.Action action ) : void
channel object
action System.Action
Результат void

RetryCall() публичный статический Метод

Invokes the specified delegate and retries the service operation call.
public static RetryCall ( System.Action action ) : void
action System.Action The action.
Результат void

RetryCall() публичный статический Метод

Invokes the specified delegate and retries the service operation call.
public static RetryCall ( int retries, System.Action action ) : void
retries int The retries.
action System.Action The action.
Результат void

RetryCall() публичный статический Метод

Invokes the specified delegate and retries the service operation call.
public static RetryCall ( int retries, int timeToWait, System.Action action ) : void
retries int The retries.
timeToWait int The time to wait.
action System.Action The action.
Результат void