语言

StringFormatter 类

定义

表示消息的字符串格式化器。

public ref class StringFormatter : ICloneable, System::Messaging::IMessageFormatter
public class StringFormatter : ICloneable, System.Messaging.IMessageFormatter
type StringFormatter = class
    interface IMessageFormatter
    interface ICloneable
Public Class StringFormatter
Implements ICloneable, IMessageFormatter
继承
StringFormatter
实现

构造函数

名称 说明
StringFormatter()

初始化 StringFormatter 类的新实例。

方法

名称 说明
CanRead(Message)

表示消息队列是否可被读取。

Clone()

创建一个新对象,该对象是当前实例的副本。

Read(Message)

读了消息。

Write(Message, Object)

打开内存流并写入消息对象。

适用于