FileLogTraceListener.CustomLocation プロパティ

定義

Location プロパティが 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

プロパティ値

ログ ファイルのディレクトリ名を表す String。 このプロパティの既定の設定は、アプリケーション データ用のユーザー ディレクトリです。

注釈

プロパティをCustomLocation設定すると、 プロパティも にCustom設定されますLocation

CustomLocationディレクトリを解決できない場合、プロパティは例外をスローします。

適用対象

こちらもご覧ください