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

정의

채널 스택의 해당 계층에 요청된 형식의 개체가 있으면 그 개체를 반환하고, 그렇지 않으면 null을 반환합니다.

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

메서드에서 쿼리하고 있는 형식화된 개체입니다.

매개 변수

context
BindingContext

현재 바인딩 요소의 BindingContext입니다.

반환

T

요청한 형식의 개체가 있으면 해당 형식의 개체 T이고, 없으면 null입니다.

예외

context 설정이 null인 경우

설명

이 재정의는 기본 GetProperty<T>(BindingContext) 구현에 속성 하나를 추가합니다. TXmlDictionaryReaderQuotas이면 ReaderQuotas 속성이 반환됩니다.

적용 대상