ActivationContext.Identity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the application identity for the current application.
public:
property ApplicationIdentity ^ Identity { ApplicationIdentity ^ get(); };
public ApplicationIdentity Identity { get; }
member this.Identity : ApplicationIdentity
Public ReadOnly Property Identity As ApplicationIdentity
Property Value
An ApplicationIdentity object that identifies the current application.
Examples
The following code example demonstrates the use of an ActivationContext object to obtain the ApplicationIdentity for a manifest-based application. This code example is part of a larger example provided for the ActivationContext class.
ActivationContext ac = AppDomain.CurrentDomain.ActivationContext;
ApplicationIdentity ai = ac.Identity;
Dim ac As ActivationContext = AppDomain.CurrentDomain.ActivationContext
Dim ai As ApplicationIdentity = ac.Identity
Remarks
An ApplicationIdentity uniquely identifies an application by its full name and location.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示