CustomLocation Property

FileLogTraceListener.CustomLocation Property

Note: This property is new in the .NET Framework version 2.0.

Gets or sets the log file directory when the Location property is set to Custom.

Namespace: Microsoft.VisualBasic.Logging
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

public string CustomLocation { get; set; }
/** @property */
public String get_CustomLocation ()

/** @property */
public void set_CustomLocation (String value)

public function get CustomLocation () : String

public function set CustomLocation (value : 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.

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.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2016 Microsoft