Share via


SecurityBindingElement.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에서 지정된 개체입니다. 개체가 없는 경우에는 null입니다.

설명

이 메서드는 기본 클래스에서 또는 해당 클래스의 상위 항목 중 하나에서 지정된 개체를 가져옵니다. 반환된 개체는 일반적으로 속성 컬렉션입니다(예: ISecurityCapabilities를 구현하는 개체).

요청된 SecurityBindingElement 속성의 형식을 인식하지 못하면 호출을 그 아래의 바인딩 요소 스택에 위임하고 바인딩 컨텍스트 매개 변수를 전달합니다. 제공할 수 있는 SecurityBindingElement 속성의 형식은 다음과 IdentityVerifier같습니다ISecurityCapabilities.

적용 대상