WebMessageEncodingElement 클래스

정의

비 SOAP 메시지에 사용되는 문자 인코딩을 지정하는 구성 요소를 나타냅니다. 이 클래스는 상속될 수 없습니다.

public ref class WebMessageEncodingElement sealed : System::ServiceModel::Configuration::BindingElementExtensionElement
public sealed class WebMessageEncodingElement : System.ServiceModel.Configuration.BindingElementExtensionElement
type WebMessageEncodingElement = class
    inherit BindingElementExtensionElement
Public NotInheritable Class WebMessageEncodingElement
Inherits BindingElementExtensionElement
상속
상속

예제

using System;  
using System.Text;  
using System.ServiceModel;  
using System.ServiceModel.Web;  
using System.ServiceModel.Configuration;  

class Program  
{  
  static void Main(string[] args)  
  {  
      WebMessageEncodingElement webMEE = new WebMessageEncodingElement();  
      Console.WriteLine("The BE type is: {0}", webMEE.BindingElementType);  

      int maxReadPoolSize = webMEE.MaxReadPoolSize;  
      Console.WriteLine("The MaxReadPoolSize is: {0}", maxReadPoolSize);  
      maxReadPoolSize = 128;  
      Console.WriteLine("The MaxReadPoolSize has been changed to: {0}", maxReadPoolSize);  

      int maxWritePoolSize = webMEE.MaxWritePoolSize;  
      Console.WriteLine("The MaxWritePoolSize is: {0}", maxWritePoolSize);  
      maxWritePoolSize = 48;  
      Console.WriteLine("The MaxWritePoolSize has been changed to: {0}", maxWritePoolSize);  

      Encoding webMessageEncoding = webMEE.WriteEncoding;  
      Console.WriteLine("The write encoding is: {0}", webMessageEncoding);  
      webMessageEncoding = UnicodeEncoding.Unicode;  
      Console.WriteLine("The write encoding has been changed to: {0}", webMessageEncoding);  

      XmlDictionaryReaderQuotasElement webMessageReaderQuotasElement = webMEE.ReaderQuotas;  
      Console.WriteLine("The max depth of the reader Quotas is: {0}", webMessageReaderQuotasElement.MaxDepth);  

      Console.WriteLine("Press <ENTER> to terminate the program.");  
      Console.ReadLine();  
        }  
    }  

설명

인코딩은 유니코드 문자 집합을 바이트 시퀀스로 변환하는 프로세스입니다. 비 SOAP 메시지의 인코딩 형식은 텍스트, JSON 및 원시 형식입니다.

WebMessageEncodingElement는 구성에서 WebMessageEncodingBindingElement를 나타냅니다. WebMessageEncodingBindingElement 다양 한 내부 인코더 (텍스트/JSON/원시 이진) Windows Communication Foundation (WCF)에서 제공 하는 방법을 들어오는 메시지 콘텐츠 형식을 맵 재정의를 사용할 수 있는 복합 인코더 플러그 인을 위한 확장성 지점을 제공 합니다. 복합 메시지 인코더는 SOAP 또는 WS-Addressing을 지원하지 않습니다.

생성자

WebMessageEncodingElement()

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

속성

BindingElementType

이 구성 요소에 의해 사용하도록 설정된 바인딩 요소의 형식을 가져옵니다.

ConfigurationElementName

이 구성 요소의 이름을 가져옵니다.

(다음에서 상속됨 ServiceModelExtensionElement)
CurrentConfiguration

현재 Configuration 인스턴스가 속해 있는 구성 계층 구조를 나타내는 최상위 ConfigurationElement 인스턴스에 대한 참조를 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
ElementInformation

ElementInformation 개체의 사용자 지정할 수 없는 정보와 기능을 포함하는 ConfigurationElement 개체를 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
ElementProperty

ConfigurationElementProperty 개체 자체를 나타내는 ConfigurationElement 개체를 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
EvaluationContext

ContextInformation 개체의 ConfigurationElement 개체를 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
HasContext

CurrentConfiguration 속성이 null인지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
Item[ConfigurationProperty]

이 구성 요소의 속성이나 특성을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElement)
Item[String]

이 구성 요소의 속성, 특성 또는 자식 요소를 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElement)
LockAllAttributesExcept

잠긴 특성의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockAllElementsExcept

잠긴 요소의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockAttributes

잠긴 특성의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockElements

잠긴 요소의 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
LockItem

요소가 잠겨 있는지 여부를 나타내는 값을 가져오거나 설정합니다.

(다음에서 상속됨 ConfigurationElement)
MaxReadPoolSize

새 판독기를 할당하지 않고 동시에 읽을 수 있는 최대 메시지 수를 지정하는 값을 가져오거나 설정합니다.

MaxWritePoolSize

새 작성기를 할당하지 않고 동시에 전송할 수 있는 최대 메시지 수를 지정하는 값을 가져오거나 설정합니다.

Properties

속성 컬렉션을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
ReaderQuotas

이 바인딩으로 구성된 엔드포인트에서 처리할 수 있는 SOAP 메시지의 복잡성에 대한 제약 조건을 가져오거나 설정합니다.

WebContentTypeMapperType

들어오는 메시지의 콘텐츠 형식을 매핑할 형식을 지정하는 WebContentTypeMapper의 형식 이름을 가져오거나 설정합니다.

WriteEncoding

바인딩에서 메시지를 내보낼 때 사용할 문자 집합 인코딩을 가져오거나 설정합니다.

메서드

ApplyConfiguration(BindingElement)

지정된 바인딩 요소의 내용을 이 바인딩 구성 섹션에 적용합니다.

CopyFrom(ServiceModelExtensionElement)

지정된 구성 섹션의 내용을 이 요소에 복사합니다.

CreateBindingElement()

파생 클래스에서 재정의될 때 사용자 지정 바인딩 요소 개체를 반환합니다.

(다음에서 상속됨 BindingElementExtensionElement)
DeserializeElement(XmlReader, Boolean)

구성 파일에서 XML을 읽습니다.

(다음에서 상속됨 ConfigurationElement)
Equals(Object)

현재 ConfigurationElement 인스턴스를 지정된 개체와 비교합니다.

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

현재 ConfigurationElement 인스턴스를 나타내는 고유 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
GetTransformedAssemblyString(String)

지정된 어셈블리 이름의 변환된 버전을 반환합니다.

(다음에서 상속됨 ConfigurationElement)
GetTransformedTypeString(String)

지정된 형식 이름의 변환된 버전을 반환합니다.

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

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

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

ConfigurationElement 개체를 초기 상태로 설정합니다.

(다음에서 상속됨 ConfigurationElement)
InitializeDefault()

ConfigurationElement 개체 값의 기본 집합을 초기화하는 데 사용됩니다.

(다음에서 상속됨 ConfigurationElement)
InitializeFrom(BindingElement)

지정된 바인딩 요소의 내용을 사용하여 이 바인딩 구성 섹션을 초기화합니다.

(다음에서 상속됨 BindingElementExtensionElement)
IsModified()

이 구성 요소가 수정되었는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ServiceModelExtensionElement)
IsReadOnly()

ConfigurationElement 개체가 읽기 전용인지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
ListErrors(IList)

ConfigurationElement 개체와 모든 하위 요소의 잘못된 속성 오류를 전달된 목록에 추가합니다.

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

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

(다음에서 상속됨 Object)
OnDeserializeUnrecognizedAttribute(String, String)

역직렬화하는 동안 알 수 없는 특성을 발견했는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)

역직렬화하는 동안 알 수 없는 요소를 발견했는지 여부를 나타내는 값을 가져옵니다.

(다음에서 상속됨 ConfigurationElement)
OnRequiredPropertyNotFound(String)

필수 속성이 없으면 예외를 throw합니다.

(다음에서 상속됨 ConfigurationElement)
PostDeserialize()

deserialization 후에 호출됩니다.

(다음에서 상속됨 ConfigurationElement)
PreSerialize(XmlWriter)

serialization 전에 호출됩니다.

(다음에서 상속됨 ConfigurationElement)
Reset(ConfigurationElement)

잠금 및 속성 컬렉션을 비롯하여 이 구성 요소의 내부 상태를 다시 설정합니다.

(다음에서 상속됨 ServiceModelExtensionElement)
ResetModified()

파생 클래스에서 구현되는 경우 IsModified() 메서드의 값을 false로 다시 설정합니다.

(다음에서 상속됨 ConfigurationElement)
SerializeElement(XmlWriter, Boolean)

이 구성 요소의 내용을 구성 파일에 씁니다.

(다음에서 상속됨 ServiceModelExtensionElement)
SerializeToXmlElement(XmlWriter, String)

파생 클래스에서 구현될 때 구성 요소의 외부 태그를 구성 파일에 씁니다.

(다음에서 상속됨 ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)

속성을 지정된 값으로 설정합니다.

(다음에서 상속됨 ConfigurationElement)
SetPropertyValueIfNotDefaultValue<T>(String, T)

값이 기본값이 아닐 경우 구성 요소의 속성 값을 설정합니다.

(다음에서 상속됨 ServiceModelConfigurationElement)
SetReadOnly()

IsReadOnly() 개체와 모든 하위 요소에 대한 ConfigurationElement 속성을 설정합니다.

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

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

(다음에서 상속됨 Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)

ConfigurationElement 개체를 수정하여 저장되지 않아야 하는 값을 모두 제거합니다.

(다음에서 상속됨 ConfigurationElement)

적용 대상