SecurityCallers 类

定义

提供当前调用链中标识的已排序的集合。Provides an ordered collection of identities in the current call chain.

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
实现

注解

类提供作为索引属性的 com + ISecurityCallersColl集合中的项。 SecurityCallersThe SecurityCallers class provides the items in the COM+ ISecurityCallersColl collection as indexed properties.

不以编程方式创建新实例。New instances are not created programmatically. 它们是从SecurityCallContext组件获取的。They are obtained from the SecurityCallContext component.

属性

Count

获取链中调用方的数目。Gets the number of callers in the chain.

Item[Int32]

获取指定的 SecurityIdentity 项。Gets the specified SecurityIdentity item.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetEnumerator()

检索对象的枚举接口。Retrieves the enumeration interface for the object.

GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

扩展方法

Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

适用于