RoleEnvironment::IsEmulated Method

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

Syntax

public:
bool IsEmulated()  

Return value

Type: bool 

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

Requirements

Header: Declared in RoleEnvironment.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

RoleEnvironment

RoleEnvironment Members