语言

SecurityCallers 类

定义

提供当前调用链中标识的有序集合。

public ref class SecurityCallers sealed : System::Collections::IEnumerable
public sealed class SecurityCallers : System.Collections.IEnumerable
type SecurityCallers = class
    interface IEnumerable
Public NotInheritable Class SecurityCallers
Implements IEnumerable
继承
SecurityCallers
实现

注解

该 SecurityCallers 类将 COM+ ISecurityCallersColl 集合中的项作为索引属性提供。

不会以编程方式创建新实例。 从组件获取 SecurityCallContext 它们。

属性

名称 说明
Count

获取链中的调用方数。

Item[Int32]

获取指定的 SecurityIdentity 项。

方法

名称 说明
Equals(Object)

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

(继承自 Object)
GetEnumerator()

检索对象的枚举接口。

GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

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

(继承自 Object)

扩展方法

名称 说明
AsParallel(IEnumerable)

启用查询的并行化。

AsQueryable(IEnumerable)

将 IEnumerable 转换为 IQueryable。

Cast<TResult>(IEnumerable)

将 IEnumerable 的元素强制转换为指定类型。

OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。

适用于