언어

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
구현

생성자

Name Description
Formatter()

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

메서드

Name Description
CanRead(Message)

메시지 큐가 읽힐 수 있는지 나타내는 값을 받습니다.

Clone()

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

Read(Message)

메시지를 읽는다.

Write(Message, Object)

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

적용 대상