IExtension<T> 인터페이스

정의

집계를 통해 개체에서 다른 개체를 확장할 수 있도록 합니다.

generic <typename T>
 where T : IExtensibleObject<T>public interface class IExtension
public interface IExtension<T> where T : IExtensibleObject<T>
type IExtension<'T (requires 'T :> IExtensibleObject<'T>)> = interface
Public Interface IExtension(Of T)

형식 매개 변수

T

사용자 지정 동작에 참여하는 개체입니다.

파생

설명

WCF를 사용하면 확장 가능한 개체 패턴을 사용하여 새 상태 또는 동작을 추가하여 개체(, , System.ServiceModel.InstanceContextSystem.ServiceModel.OperationContext 클래스)를 확장 System.ServiceModel.IExtensibleObject<T> System.ServiceModel.ServiceHost할 수 있습니다.System.ServiceModel.IContextChannel 확장 가능한 개체 패턴은 WCF에서 새 기능을 사용하여 기존 런타임 클래스를 확장하거나 개체에 새 상태 기능을 추가하는 데 사용됩니다.

메서드

Attach(T)

확장명 개체가 집계된 시기를 확인할 수 있도록 합니다. 확장이 Extensions 속성에 추가되면 호출됩니다.

Detach(T)

개체가 더 이상 집계되지 않는 시기를 확인할 수 있도록 합니다. 확장이 Extensions 속성에서 제거되면 호출됩니다.

적용 대상