Indicates if this instance of MonoX is running on Azure. Used to avoid problems with RoleEnvironment.IsAvailable that requires msshrtmi.dll assembly to be present on non-Azure installs, and has multiple versions for 32 and 64 bit systems.
Namespace: MonoSoftware.MonoXAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static bool AzureEnvironment { get; } |
Visual Basic |
---|
Public Shared ReadOnly Property AzureEnvironment As Boolean
Get |
Visual C++ |
---|
public:
static property bool AzureEnvironment {
bool get ();
} |
F# |
---|
static member AzureEnvironment : bool with get
|
Property Value
Type:
Booleantrue if [azure environment]; otherwise,
false.
See Also