Indicates whether the role instance is running in the Windows Azure environment.
public:
bool IsAvailable()
Type: boolÂ
true if the role instance is running in Windows Azure; otherwise, false.
If IsAvailable returns false all the other properties, methods and events of RoleEnvironment will throw exceptions.
Header: Declared in RoleEnvironment.h.
Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).