BinaryMessageFormatter 생성자

정의

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

오버로드

BinaryMessageFormatter()

형식 스타일이나 Top 개체 어셈블리 스타일을 지정하지 않고 BinaryMessageFormatter 클래스의 새 인스턴스를 초기화합니다.

BinaryMessageFormatter(FormatterAssemblyStyle, FormatterTypeStyle)

루트 개체와 형식 설명의 형식을 지정하지 않고 BinaryMessageFormatter 클래스의 새 인스턴스를 초기화합니다.

설명

중요

신뢰할 수 없는 데이터로 이 클래스에서 메서드를 호출하는 것은 보안상 위험합니다. 신뢰할 수 있는 데이터로만 이 클래스에서 메서드를 호출하세요. 자세한 내용은 모든 입력 유효성 검사를 참조하세요.

BinaryMessageFormatter()

형식 스타일이나 Top 개체 어셈블리 스타일을 지정하지 않고 BinaryMessageFormatter 클래스의 새 인스턴스를 초기화합니다.

public:
 BinaryMessageFormatter();
public BinaryMessageFormatter ();
Public Sub New ()

설명

클래스의 TopObjectFormat instance 사용하여 메시지를 직렬화하고 보내기 전에 속성(그래프의 루트 개체가 배치되는 방식을 정의)과 TypeFormat 속성(개체 형식 설명 배치 방법을 정의)에 BinaryMessageFormatter 대한 값을 지정해야 합니다.

적용 대상

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된 스트림에서 그래프의 Top(루트) 개체가 레이아웃되는 방법을 결정합니다.

typeFormat
FormatterTypeStyle

serialize된 스트림에서 형식 설명이 레이아웃되는 방법을 설명합니다.

적용 대상