TransportBindingElement.GetProperty<T>(BindingContext) 메서드

정의

지정된 BindingContext에서 속성을 가져옵니다.

public:
generic <typename T>
 where T : class override T GetProperty(System::ServiceModel::Channels::BindingContext ^ context);
public override T GetProperty<T> (System.ServiceModel.Channels.BindingContext context) where T : class;
override this.GetProperty : System.ServiceModel.Channels.BindingContext -> 'T (requires 'T : null)
Public Overrides Function GetProperty(Of T As Class) (context As BindingContext) As T

형식 매개 변수

T

가져올 속성입니다.

매개 변수

반환

T

지정된 BindingContext의 속성입니다.

설명

이 메서드는 바인딩 요소 스택을 나타내는 바인딩 컨텍스트를 입력 매개 변수로 받습니다. 이 메서드는 지정한 개체를 직접 가져오거나, 스택의 다음 하위 바인딩 요소 또는 둘의 조합으로 조회를 위임합니다. 조회를 위임하는 경우 컨텍스트를 수정할 수 있습니다. 스택에 있는 각 바인딩 요소는 위임된 경우 스택의 맨 아래에 도달할 때까지 이 프로세스를 반복할 수 있습니다. 반환되는 개체는 일반적으로 속성 컬렉션입니다.

형식 TChannelProtectionRequirements이 , XmlDictionaryReaderQuotas또는 MessageVersion 인 경우 이 클래스의 인스턴스가 반환됩니다. 형식이 의 T 인스턴스 BindingParameters형식과 일치하면 해당 인스턴스가 반환됩니다.

이 메서드는 바인딩 요소뿐만 아니라 IChannelFactory, IChannelListenerIChannel과 같은 런타임 개체에 의해서도 구현됩니다.

적용 대상