Share via


MustUnderstandBehavior(Boolean) 생성자

정의

지정한 값을 사용하여 MustUnderstandBehavior 클래스의 새 인스턴스를 초기화합니다.

public:
 MustUnderstandBehavior(bool validate);
public MustUnderstandBehavior (bool validate);
new System.ServiceModel.Description.MustUnderstandBehavior : bool -> System.ServiceModel.Description.MustUnderstandBehavior
Public Sub New (validate As Boolean)

매개 변수

validate
Boolean

mustUnderstand 헤더의 유효성 검사를 실행할지 여부를 지정하는 값입니다.

설명

런타임에 메시지에서 false 속성이 validate이지만 메시지의 System.ServiceModel.Channels.MessageHeader 속성에 헤더가 없는 MessageHeader.MustUnderstand가 발견될 경우 예외가 throw되지 않게 하려면 이 생성자에 trueMessageHeaders.UnderstoodHeaders 매개 변수로 전달합니다.

적용 대상