This documentation is archived and is not being maintained.

LicenseContext.UsageMode Property

When overridden in a derived class, gets a value that specifies when you can use a license.

[Visual Basic]
Public Overridable ReadOnly Property UsageMode As LicenseUsageMode
public virtual LicenseUsageMode UsageMode {get;}
public: __property virtual LicenseUsageMode get_UsageMode();
public function get UsageMode() : LicenseUsageMode;

Property Value

One of the LicenseUsageMode values that specifies when you can use a license. The default is LicenseUsageMode.Runtime.


Notes to Inheritors:  To implement design-time support, override this property in a class that inherits.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

LicenseContext Class | LicenseContext Members | System.ComponentModel Namespace | License | LicenseContext | LicenseException | LicenseManager | LicenseProvider | LicenseProviderAttribute | LicFileLicenseProvider | LicenseUsageMode