ReliableSessionBindingElementImporter 类

定义

在可靠的会话绑定元素和元数据中其相应策略断言的表示形式之间进行映射。 此类不能被继承。

public ref class ReliableSessionBindingElementImporter sealed : System::ServiceModel::Description::IPolicyImportExtension
public sealed class ReliableSessionBindingElementImporter : System.ServiceModel.Description.IPolicyImportExtension
type ReliableSessionBindingElementImporter = class
    interface IPolicyImportExtension
Public NotInheritable Class ReliableSessionBindingElementImporter
Implements IPolicyImportExtension
继承
ReliableSessionBindingElementImporter
实现

注解

WindowsCommunication Foundation (WCF) 使用此类将可靠会话绑定元素导入元数据中的策略断言。 当位于服务上时,此类将使用可靠的会话绑定元素并将自定义策略断言写入 WSDL 文件。 当位于客户端上时,此类将查找上述断言并将相应的绑定元素插回到客户端绑定中。 请注意,可靠会话在绑定中的存在呈现为 WS-Reliable Messaging Policy 规范中所描述的可靠消息断言。

有关将绑定之间的策略断言交换到 WSDL 信息的详细信息 IPolicyImportExtension ,请参阅和 IPolicyExportExtension 接口:

构造函数

ReliableSessionBindingElementImporter()

初始化 ReliableSessionBindingElementImporter 类的新实例。

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

显式接口实现

IPolicyImportExtension.ImportPolicy(MetadataImporter, PolicyConversionContext)

将 WS-Reliable Message 策略断言转换为客户端绑定中的可靠会话绑定元素。

适用于