ServiceAuthenticationBehavior 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
描述服务的身份验证行为。
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() |
|
| ToString() |
返回一个表示当前对象的字符串。 (继承自 Object) |