Редактиране

Споделяне чрез


FileLogTraceListener.CustomLocation Property

Definition

Gets or sets the log file directory when the Location property is set to 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

Property Value

String, which is the name of the log-file directory. The default setting for this property is the user's directory for application data.

Remarks

When the CustomLocation property is set, it also sets the Location property to Custom.

The CustomLocation property will throw an exception if the directory cannot be resolved.

Applies to

See also