MetadataExchangeBindings 类

定义

用于通过使用 IMetadataExchange 协定,为 WS-Transfer 元数据交换创建系统提供的绑定。Used to create system-provided bindings for WS-Transfer metadata exchange using the IMetadataExchange contract.

public ref class MetadataExchangeBindings abstract sealed
public static class MetadataExchangeBindings
type MetadataExchangeBindings = class
Public Class MetadataExchangeBindings
继承
MetadataExchangeBindings

注解

使用 MetadataExchangeBindings 方法和属性可以创建系统提供的绑定,从而支持 WS-Transfer GET 元数据交换。Use the MetadataExchangeBindings methods and properties to create system-provided bindings to support WS-Transfer GET metadata exchanges. 有关详细信息和示例,请参阅 如何:使用配置文件发布服务的元数据For more information and examples, see How to: Publish Metadata for a Service Using a Configuration File.

查看单个成员,以获得这些成员返回的绑定组合的详细信息。See the individual members for details about the composition of the bindings they return.

方法

CreateMexHttpBinding()

返回安全性已禁用的 WSHttpBindingReturns a WSHttpBinding with security disabled.

CreateMexHttpsBinding()

返回支持传输级安全性的 WSHttpBindingReturns a WSHttpBinding that supports transport-level security.

CreateMexNamedPipeBinding()

返回带有 CustomBindingNamedPipeTransportBindingElementReturns a CustomBinding with a NamedPipeTransportBindingElement.

CreateMexTcpBinding()

返回带有 CustomBindingTcpTransportBindingElementReturns a CustomBinding with a TcpTransportBindingElement.

适用于