ApplicationTrustCollection Class

 

Represents a collection of ApplicationTrust objects. This class cannot be inherited.

Namespace:   System.Security.Policy
Assembly:  mscorlib (in mscorlib.dll)

System.Object
  System.Security.Policy.ApplicationTrustCollection

[SecurityCriticalAttribute]
[ComVisibleAttribute(true)]
public sealed class ApplicationTrustCollection : ICollection, 
	IEnumerable

NameDescription
System_CAPS_pubpropertyCount

Gets the number of items contained in the collection.

System_CAPS_pubpropertyIsSynchronized

Gets a value indicating whether access to the collection is synchronized (thread safe).

System_CAPS_pubpropertyItem[Int32]

Gets the ApplicationTrust object located at the specified index in the collection.

System_CAPS_pubpropertyItem[String]

Gets the ApplicationTrust object for the specified application.

System_CAPS_pubpropertySyncRoot

Gets an object that can be used to synchronize access to the collection.

NameDescription
System_CAPS_pubmethodAdd(ApplicationTrust)

Adds an element to the collection.

System_CAPS_pubmethodAddRange(ApplicationTrust[])

Copies the elements of the specified ApplicationTrust array to the end of the collection.

System_CAPS_pubmethodAddRange(ApplicationTrustCollection)

Copies the elements of the specified ApplicationTrustCollection to the end of the collection.

System_CAPS_pubmethodClear()

Removes all the application trusts from the collection.

System_CAPS_pubmethodCopyTo(ApplicationTrust[], Int32)

Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFind(ApplicationIdentity, ApplicationVersionMatch)

Gets the application trusts in the collection that match the specified application identity.

System_CAPS_pubmethodGetEnumerator()

Returns an object that can be used to iterate over the collection.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodRemove(ApplicationIdentity, ApplicationVersionMatch)

Removes all application trust objects that match the specified criteria from the collection.

System_CAPS_pubmethodRemove(ApplicationTrust)

Removes the specified application trust from the collection.

System_CAPS_pubmethodRemoveRange(ApplicationTrust[])

Removes the application trust objects in the specified array from the collection.

System_CAPS_pubmethodRemoveRange(ApplicationTrustCollection)

Removes the application trust objects in the specified collection from the collection.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Copies the elements of the ICollection to the specified Array, starting at the specified Array index.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an enumerator that iterates through the collection.

NameDescription
System_CAPS_pubmethodAsParallel()

Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.)

System_CAPS_pubmethodAsQueryable()

Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.)

System_CAPS_pubmethodCast<TResult>()

Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.)

System_CAPS_pubmethodOfType<TResult>()

Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.)

ApplicationTrust objects encapsulate security decisions about an application.

SecurityCriticalAttribute

requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.

.NET Framework
Available since 2.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: