C# 클래스 Thinktecture.ServiceModel.CommunicationObjectHelper

Contains the helper methods for managing the CommunicationObject's life time.
파일 보기 프로젝트 열기: ChristianWeyer/Thinktecture.ServiceModel

공개 메소드들

메소드 설명
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