Condividi tramite


RoleEnvironment.IsEmulated Property

 

Indicates whether the role instance is running in the Microsoft Azure compute emulator.

Namespace:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)

Syntax

public static bool IsEmulated { get; }
public:
property bool IsEmulated {
    static bool get();
}
static member IsEmulated : bool with get
Public Shared ReadOnly Property IsEmulated As Boolean

Property Value

Type: System.Boolean

Type: System.Boolean

true, if the role instance is running in the compute emulator; otherwise, false.

See Also

RoleEnvironment Class
Microsoft.WindowsAzure.ServiceRuntime Namespace

Return to top