다음을 통해 공유


SamlSecurityTokenHandler.WriteAudienceRestrictionCondition 메서드

정의

<saml:AudienceRestriction> 요소를 씁니다.

protected:
 virtual void WriteAudienceRestrictionCondition(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SamlAudienceRestrictionCondition ^ condition);
protected virtual void WriteAudienceRestrictionCondition (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SamlAudienceRestrictionCondition condition);
abstract member WriteAudienceRestrictionCondition : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlAudienceRestrictionCondition -> unit
override this.WriteAudienceRestrictionCondition : System.Xml.XmlWriter * System.IdentityModel.Tokens.SamlAudienceRestrictionCondition -> unit
Protected Overridable Sub WriteAudienceRestrictionCondition (writer As XmlWriter, condition As SamlAudienceRestrictionCondition)

매개 변수

writer
XmlWriter

데이터를 쓰는 데 사용할 XmlWriter입니다.

condition
SamlAudienceRestrictionCondition

쓸 데이터입니다.

예외

data이(가) null인 경우

또는

writer이(가) null인 경우

condition에 지정된 ConditionsSamlAudienceRestrictionCondition 속성이 null이거나 빈 컬렉션입니다.

적용 대상