C# 클래스 ServiceModelContrib.IoC.Unity.ContainerControlledCommunicationObjectLifetimeManager

A LifetimeManager that holds onto the ICommunicationObject (typically a WCF client channel proxy) given to it. When the ContainerControlledCommunicationObjectLifetimeManager is disposed, the instance is first properly closed, then disposed (if needed).
상속: Microsoft.Practices.Unity.SynchronizedLifetimeManager, IDisposable
파일 보기 프로젝트 열기: kredinor/ServiceModelContrib

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RemoveValue ( ) : void

Remove the given object from backing store.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Disposes the Lifetime manager an the attached communication object.

SynchronizedGetValue ( ) : object

Retrieve a value from the backing store associated with this Lifetime policy.

SynchronizedSetValue ( object newValue ) : void

Stores the given value into backing store for retrieval later.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Disposes the Lifetime manager an the attached communication object.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

RemoveValue() 공개 메소드

Remove the given object from backing store.
public RemoveValue ( ) : void
리턴 void

SynchronizedGetValue() 보호된 메소드

Retrieve a value from the backing store associated with this Lifetime policy.
protected SynchronizedGetValue ( ) : object
리턴 object

SynchronizedSetValue() 보호된 메소드

Stores the given value into backing store for retrieval later.
protected SynchronizedSetValue ( object newValue ) : void
newValue object The object being stored.
리턴 void