내보내기(0) 인쇄
모두 확장

RoleEntryPoint 클래스

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

네임스페이스: Microsoft.WindowsAzure.ServiceRuntime
어셈블리: Microsoft.WindowsAzure.ServiceRuntime(microsoft.windowsazure.serviceruntime.dll)

‘사용 방법
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

이 형식의 모든 public static(Shared, Visual Basic의 경우) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

개발 플랫폼

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

대상 플랫폼

커뮤니티 추가 항목

표시:
© 2015 Microsoft