Message.BodyToString 方法

通过调用 Message.OnBodyToString 方法将消息正文转换为字符串。

internal void BodyToString(XmlDictionaryWriter writer);

参数

言论

警告

Message.BodyToString 方法是内部方法,不应直接在代码中使用。

Microsoft在任何情况下都不支持在生产应用程序中使用此方法。

要求

命名空间:System.ServiceModel.Channels

程序集: System.ServiceModel.dll

.NET Framework 版本:自 3.0 起提供