RoleRuntimeBridge.RegisterShutdownEvent Method

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

Usage

    Dim instance As RoleRuntimeBridge
Dim shutdownEventName As String

instance.RegisterShutdownEvent(shutdownEventName)

Syntax

'Declaration
Public Sub RegisterShutdownEvent ( _
    shutdownEventName As String _
)
public void RegisterShutdownEvent (
    string shutdownEventName
)
public:
void RegisterShutdownEvent (
    String^ shutdownEventName
)
public void RegisterShutdownEvent (
    String shutdownEventName
)
public function RegisterShutdownEvent (
    shutdownEventName : String
)

Parameters

  • shutdownEventName
     

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

RoleRuntimeBridge Class
RoleRuntimeBridge Members
Microsoft.ServiceHosting.ServiceRuntime.Implementation.Loader Namespace