你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServiceRegistrySettings 类

定义

包含Azure 服务总线注册表的设置。

public class ServiceRegistrySettings : System.ServiceModel.Description.IEndpointBehavior
type ServiceRegistrySettings = class
    interface IEndpointBehavior
Public Class ServiceRegistrySettings
Implements IEndpointBehavior
继承
ServiceRegistrySettings
实现

构造函数

ServiceRegistrySettings()

初始化 ServiceRegistrySettings 类的新实例。

ServiceRegistrySettings(DiscoveryType)

使用指定的发现类型初始化 类的新实例 ServiceRegistrySettings

字段

allowUnauthenticatedAccess

如果终结点允许未经身份验证的访问,则为 true;否则为 false。 默认值为 false。

transportProtectionEnabled

如果启用传输保护,则为 true;否则为 false。 默认值为 true。

属性

DiscoveryMode

获取或设置服务的发现方式。

DisplayName

获取或设置终结点的显示名称。

显式接口实现

IEndpointBehavior.AddBindingParameters(ServiceEndpoint, BindingParameterCollection)

在运行时将数据传递到绑定以支持自定义行为。

IEndpointBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime)

此实现不执行任何工作。

IEndpointBehavior.ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher)

此实现不执行任何工作。

IEndpointBehavior.Validate(ServiceEndpoint)

此方法不执行任何操作。

适用于