HostingEnvironment.ApplicationID 属性

定义

获取应用程序的唯一标识符。Gets the unique identifier of the application.

public:
 static property System::String ^ ApplicationID { System::String ^ get(); };
public static string ApplicationID { get; }
member this.ApplicationID : string
Public Shared ReadOnly Property ApplicationID As String

属性值

String

应用程序的唯一标识符。The unique identifier of the application.

注解

必须运行应用程序,并 AspNetHostingPermissionLevel 将设置为高信任才能访问 ApplicationID 属性。The application must be running with AspNetHostingPermissionLevel set to high trust to access the ApplicationID property.

适用于