ApplicationTrustCollection.Find(ApplicationIdentity, ApplicationVersionMatch) Methode
Definition
Ruft die Anwendungsvertrauensstellungen in der Auflistung ab, die der angegebenen Anwendungsidentität entsprechen.Gets the application trusts in the collection that match the specified application identity.
public:
System::Security::Policy::ApplicationTrustCollection ^ Find(ApplicationIdentity ^ applicationIdentity, System::Security::Policy::ApplicationVersionMatch versionMatch);
public System.Security.Policy.ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, System.Security.Policy.ApplicationVersionMatch versionMatch);
[System.Security.SecurityCritical]
public System.Security.Policy.ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, System.Security.Policy.ApplicationVersionMatch versionMatch);
member this.Find : ApplicationIdentity * System.Security.Policy.ApplicationVersionMatch -> System.Security.Policy.ApplicationTrustCollection
[<System.Security.SecurityCritical>]
member this.Find : ApplicationIdentity * System.Security.Policy.ApplicationVersionMatch -> System.Security.Policy.ApplicationTrustCollection
Public Function Find (applicationIdentity As ApplicationIdentity, versionMatch As ApplicationVersionMatch) As ApplicationTrustCollection
Parameter
- applicationIdentity
- ApplicationIdentity
Ein ApplicationIdentity-Objekt, das die gesuchte Anwendung beschreibt.An ApplicationIdentity object describing the application to find.
- versionMatch
- ApplicationVersionMatch
Einer der ApplicationVersionMatch-Werte.One of the ApplicationVersionMatch values.
Gibt zurück
Eine ApplicationTrustCollection, die alle übereinstimmenden ApplicationTrust-Objekte enthält.An ApplicationTrustCollection containing all matching ApplicationTrust objects.
- Attribute
Hinweise
Die Anwendungs Vertrauensstellung wird optional durch eine exakte Versions Übereinstimmung ausgewählt, basierend auf dem Wert des- versionMatch
Parameters.The application trust is optionally selected by an exact version match, based on the value of the versionMatch
parameter.