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)

[ComVisibleAttribute(false)]
public T GetHostEvidence<T>()
where T : EvidenceBase

Return Value

Type: T

Evidence of type T in the host evidence collection.

Type Parameters

T

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
Show:
© 2016 Microsoft