VERTRIEB: 1-800-867-1380

RoleEntryPoint-Klasse

Provides methods to run code when a role instance is initialized, run, and stopped.

Namespace: Microsoft.WindowsAzure.ServiceRuntime
Assembly: Microsoft.WindowsAzure.ServiceRuntime (in microsoft.windowsazure.serviceruntime.dll)

'Usage
Dim instance As RoleEntryPoint

public abstract class RoleEntryPoint
public abstract class RoleEntryPoint
public abstract class RoleEntryPoint

Worker roles must extend the RoleEntryPoint class to add functionality to the role instances. Web roles can optionally extend the RoleEntryPoint class, or can use the ASP.NET lifecycle management methods to handle the start and stop sequences. For a VM role, Windows Services are used instead of the RoleEntryPoint class. For more information about how to create a Windows Service for a VM role, see How to Develop an Adapter for a VM Role in Windows Azure.

For more information about life cycle management, see Overview of Building an Application that Runs in a Hosted Service.


System.Object
  Microsoft.WindowsAzure.ServiceRuntime.RoleEntryPoint

Alle öffentlichen statischen (freigegebenen in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Entwicklungsplattformen

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 und Windows 2000

Zielplattformen

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.

Community-Beiträge

Anzeigen:
© 2015 Microsoft