Export (0) Print
Expand All

RoleManager Class

Provides methods to log messages and raise alerts, retrieve service configuration settings, and return the location of the local storage resource.

Namespace: Microsoft.ServiceHosting.ServiceRuntime
Assembly: Microsoft.ServiceHosting.ServiceRuntime (in microsoft.servicehosting.serviceruntime.dll)

Dim instance As RoleManager

[PermissionSetAttribute(SecurityAction::Assert, Unrestricted=true)] 
public ref class RoleManager
/** @attribute PermissionSetAttribute(SecurityAction.Assert, Unrestricted=true) */ 
public class RoleManager
public class RoleManager

The Windows Azure fabric runs IIS 7.0 in integrated mode. In integrated mode, the Application_Start event does not support access to the request context or to the members of the RoleManager class provided by the Windows Azure SDK runtime API. If you are writing an ASP.NET application that accesses the request context or calls methods of the RoleManager class from the Application_Start event, you should modify it to initialize in the Application_BeginRequest event instead.

For an example that shows how to use the Application_BeginRequest event, see the PersonalWebSite Sample that ships with the Windows Azure SDK.


System.Object
  Microsoft.ServiceHosting.ServiceRuntime.RoleManager

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 XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000

Target Platforms

Show:
© 2014 Microsoft