WebBaseEvent.ApplicationInformation Properti
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
WebApplicationInformation Mendapatkan objek yang berisi informasi tentang aplikasi saat ini yang sedang dipantau.
public:
static property System::Web::Management::WebApplicationInformation ^ ApplicationInformation { System::Web::Management::WebApplicationInformation ^ get(); };
public static System.Web.Management.WebApplicationInformation ApplicationInformation { get; }
static member ApplicationInformation : System.Web.Management.WebApplicationInformation
Public Shared ReadOnly Property ApplicationInformation As WebApplicationInformation
Nilai Properti
Objek WebApplicationInformation yang berisi informasi tentang aplikasi yang sedang dipantau.
Contoh
Contoh kode berikut menunjukkan cara mendapatkan informasi aplikasi.
// Gets the current application information.
public WebApplicationInformation GetEventAppInfo()
{
// Get the event message.
WebApplicationInformation appImfo =
ApplicationInformation;
return appImfo;
}
' Gets the current application information.
Public Function GetEventAppInfo() As WebApplicationInformation
' Get the event message.
Dim appImfo As WebApplicationInformation = _
ApplicationInformation
Return appImfo
End Function 'GetEventAppInfo
Berlaku untuk
Lihat juga
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.