FileLogTraceListener.CustomLocation Vlastnost

Definice

Získá nebo nastaví adresář souboru protokolu, když Location je vlastnost nastavena na Custom.

public:
 property System::String ^ CustomLocation { System::String ^ get(); void set(System::String ^ value); };
public string CustomLocation { get; set; }
member this.CustomLocation : string with get, set
Public Property CustomLocation As String

Hodnota vlastnosti

String, což je název adresáře log-file. Výchozí nastavení této vlastnosti je adresář uživatele pro data aplikace.

Poznámky

CustomLocation Když je vlastnost nastavená, nastaví Location také vlastnost na Custom.

Vlastnost CustomLocation vyvolá výjimku, pokud adresář nelze přeložit.

Platí pro

Viz také