Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

RoleEnvironment.IsAvailable Property

Updated: December 6, 2013

Indicates whether the role instance is running in the Windows Azure environment.

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

public static bool IsAvailable { get; }

Property Value

Type: System.Boolean

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.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Topluluk İçeriği

Ekle
Show:
© 2014 Microsoft