ServiceAuthenticationBehavior 类

定义

描述服务的身份验证行为。

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

构造函数

名称 说明
ServiceAuthenticationBehavior()

创建 ServiceAuthenticationBehavior的新实例。

属性

名称 说明
AuthenticationSchemes

获取或设置表示服务使用的身份验证方案的值。

ServiceAuthenticationManager

ServiceAuthenticationManager获取与此行为关联的对象。

方法

名称 说明
Equals(Object)

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

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ShouldSerializeAuthenticationSchemes()

返回服务是否应序列化身份验证方案。

ShouldSerializeServiceAuthenticationManager()

true 如果应序列化, ServiceAuthenticationManager 则为 .;否则为 false

ToString()

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

(继承自 Object)

显式接口实现

名称 说明
IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

方法的 AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection) 实现。

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

方法的 ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) 实现。

IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

方法的 IServiceBehavior.Validate(ServiceDescription, ServiceHostBase) 实现。

适用于