MessageHeaderArrayAttribute 클래스

정의

SOAP 메시지의 기본 래퍼 요소를 헤더 요소의 배열 형식에 기록할 수 없도록 지정합니다.

public ref class MessageHeaderArrayAttribute sealed : System::ServiceModel::MessageHeaderAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class MessageHeaderArrayAttribute : System.ServiceModel.MessageHeaderAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, Inherited=false)]
public sealed class MessageHeaderArrayAttribute : System.ServiceModel.MessageHeaderAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type MessageHeaderArrayAttribute = class
    inherit MessageHeaderAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, Inherited=false)>]
type MessageHeaderArrayAttribute = class
    inherit MessageHeaderAttribute
Public NotInheritable Class MessageHeaderArrayAttribute
Inherits MessageHeaderAttribute
상속
특성

설명

MessageHeaderArrayAttribute 배열 형식에 대한 기본 래퍼 요소가 없는 첫 번째 자식 내부 또는 첫 번째 자식 내에서 <soap:Header> 바인딩되지 않은 수의 <soap:Header> 동일한 요소를 내보내려는 경우 이 특성을 사용하여 표준 배열 래퍼 요소를 해제합니다.

MessageHeaderArrayAttribute 배열 형식의 멤버에만 적용할 수 있습니다. 지정된 경우 각 배열 항목의 Name Namespace 요소 이름 및 네임스페이스로 사용됩니다. 지정하지 않으면 배열 항목 요소의 이름은 반복되지 않는 본문 부분의 이름을 지정하는 데 사용되는 것과 동일한 규칙을 사용하여 명명됩니다. 자세한 내용은 NameNamespace를 참조하세요.

기본 SOAP 봉투 자체를 수정하지 않고 SOAP 본문의 콘텐츠 직렬화를 제어하는 방법에 대한 자세한 내용은 서비스 계약에서 데이터 전송 지정데이터 계약 사용을 참조System.Runtime.Serialization.DataContractAttribute하세요.

메시지 계약을 만드는 방법에 대한 자세한 내용은 메시지 계약 사용을 참조하세요.

생성자

MessageHeaderArrayAttribute()

MessageHeaderArrayAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

Actor

이 헤더의 대상이 되는 노드를 나타내는 URI를 가져오거나 설정합니다. SOAP 1.2를 사용하는 경우에는 역할 헤더 특성에 매핑하고, SOAP 1.1을 사용하는 경우에는 행위자 헤더 특성에 매핑합니다.

(다음에서 상속됨 MessageHeaderAttribute)
HasProtectionLevel

파생 클래스에서 재정의되면 멤버에 할당된 보호 수준이 있는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 MessageContractMemberAttribute)
MustUnderstand

Actor 역할에서 동작하는 노드가 이 헤더를 인식해야 하는지 여부를 지정합니다. 이 설정은 mustUnderstand SOAP 헤더 특성에 매핑됩니다.

(다음에서 상속됨 MessageHeaderAttribute)
Name

이 멤버에 해당하는 요소의 이름을 지정합니다.

(다음에서 상속됨 MessageContractMemberAttribute)
Namespace

이 멤버에 해당하는 요소의 네임스페이스를 지정합니다.

(다음에서 상속됨 MessageContractMemberAttribute)
ProtectionLevel

멤버를 현재 상태로 전송할지, 서명한 상태로 전송할지, 서명하고 암호화한 상태로 전송할지를 지정합니다.

(다음에서 상속됨 MessageContractMemberAttribute)
Relay

이 헤더를 다운스트림 노드로 릴레이할지 여부를 지정합니다. 이 설정은 relay SOAP 헤더 특성에 매핑됩니다.

(다음에서 상속됨 MessageHeaderAttribute)
TypeId

파생 클래스에서 구현된 경우 이 Attribute에 대한 고유 식별자를 가져옵니다.

(다음에서 상속됨 Attribute)

메서드

Equals(Object)

이 인스턴스가 지정된 개체와 같은지를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
GetHashCode()

이 인스턴스의 해시 코드를 반환합니다.

(다음에서 상속됨 Attribute)
GetType()

현재 인스턴스의 Type을 가져옵니다.

(다음에서 상속됨 Object)
IsDefaultAttribute()

파생 클래스에서 재정의된 경우 이 인스턴스 값이 파생 클래스에 대한 기본값인지 여부를 표시합니다.

(다음에서 상속됨 Attribute)
Match(Object)

파생 클래스에서 재정의된 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다.

(다음에서 상속됨 Attribute)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 개체를 나타내는 문자열을 반환합니다.

(다음에서 상속됨 Object)

명시적 인터페이스 구현

_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

이름 집합을 해당하는 디스패치 식별자 집합에 매핑합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)

인터페이스의 형식 정보를 가져오는 데 사용할 수 있는 개체의 형식 정보를 검색합니다.

(다음에서 상속됨 Attribute)
_Attribute.GetTypeInfoCount(UInt32)

개체에서 제공하는 형식 정보 인터페이스의 수를 검색합니다(0 또는 1).

(다음에서 상속됨 Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

개체에서 노출하는 메서드와 속성에 대한 액세스를 제공합니다.

(다음에서 상속됨 Attribute)

적용 대상