BinaryMessageFormatter 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
BinaryMessageFormatter 클래스의 새 인스턴스를 초기화합니다.
오버로드
| Name | Description |
|---|---|
| BinaryMessageFormatter() |
형식 스타일 또는 위쪽 개체 어셈블리 스타일을 지정하지 않고 클래스의 BinaryMessageFormatter 새 인스턴스를 초기화합니다. |
| BinaryMessageFormatter(FormatterAssemblyStyle, FormatterTypeStyle) |
루트 개체의 BinaryMessageFormatter 형식 및 형식 설명을 지정하여 클래스의 새 인스턴스를 초기화합니다. |
설명
중요합니다
신뢰할 수 없는 데이터를 사용하여 이 클래스에서 메서드를 호출하는 것은 보안 위험입니다. 신뢰할 수 있는 데이터로만 이 클래스의 메서드를 호출합니다. 자세한 내용은 모든 입력 유효성 검사참조하세요.
BinaryMessageFormatter()
형식 스타일 또는 위쪽 개체 어셈블리 스타일을 지정하지 않고 클래스의 BinaryMessageFormatter 새 인스턴스를 초기화합니다.
public:
BinaryMessageFormatter();
public BinaryMessageFormatter();
Public Sub New ()
설명
클래스 인스턴스 TopObjectFormat 를 사용하여 메시지를 직렬화하고 보내기 전에 속성 값(그래프의 BinaryMessageFormatter 루트 개체가 배치되는 방식을 정의)과 TypeFormat 속성(개체 형식 설명 배치 방법을 정의)을 지정해야 합니다.
적용 대상
BinaryMessageFormatter(FormatterAssemblyStyle, FormatterTypeStyle)
루트 개체의 BinaryMessageFormatter 형식 및 형식 설명을 지정하여 클래스의 새 인스턴스를 초기화합니다.
public:
BinaryMessageFormatter(System::Runtime::Serialization::Formatters::FormatterAssemblyStyle topObjectFormat, System::Runtime::Serialization::Formatters::FormatterTypeStyle typeFormat);
public BinaryMessageFormatter(System.Runtime.Serialization.Formatters.FormatterAssemblyStyle topObjectFormat, System.Runtime.Serialization.Formatters.FormatterTypeStyle typeFormat);
new System.Messaging.BinaryMessageFormatter : System.Runtime.Serialization.Formatters.FormatterAssemblyStyle * System.Runtime.Serialization.Formatters.FormatterTypeStyle -> System.Messaging.BinaryMessageFormatter
Public Sub New (topObjectFormat As FormatterAssemblyStyle, typeFormat As FormatterTypeStyle)
매개 변수
- topObjectFormat
- FormatterAssemblyStyle
그래프의 위쪽(루트) 개체가 serialize된 스트림에 배치되는 방법을 결정합니다.
- typeFormat
- FormatterTypeStyle
serialize된 스트림에 형식 설명을 배치하는 방법을 결정합니다.