GetHostEvidence(T) Method

Evidence.GetHostEvidence<T> Method ()

.NET Framework (current version)

Gets host evidence of the specified type from the collection.

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

public T GetHostEvidence<T>()
where T : EvidenceBase

Return Value

Type: T

Evidence of type T in the host evidence collection.

Type Parameters


The type of the evidence to get.

This method returns only evidence that is derived from the EvidenceBase class. It does not return legacy evidence objects that are derived from other classes.

.NET Framework
Available since 4.0
Return to top
© 2016 Microsoft