Formatter 클래스

정의

큐에서 읽거나 큐로 작성된 메시지의 본문으로 개체를 직렬화하거나 이 본문에서 개체를 역직렬화하는 데 사용되는 포맷터를 포함합니다.

public ref class Formatter : ICloneable, System::Messaging::IMessageFormatter
public class Formatter : ICloneable, System.Messaging.IMessageFormatter
type Formatter = class
    interface IMessageFormatter
    interface ICloneable
Public Class Formatter
Implements ICloneable, IMessageFormatter
상속
Formatter
구현

생성자

Formatter()

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

메서드

CanRead(Message)

메시지 큐를 읽을 수 있는지 여부를 나타내는 값을 가져옵니다.

Clone()

현재 인스턴스의 복사본인 새 개체를 만듭니다.

Read(Message)

메시지를 읽습니다.

Write(Message, Object)

메모리 스트림을 열고 메시지 개체를 씁니다. 이 메서드는 PackageID, VersionID, 데이터 파일 이름 및 파일 내용을 포함한 메시지 개체를 직렬화합니다.

적용 대상