Visual Basic (Declaration) | |
---|---|
Public Delegate Function RequestServerStateChangeMethodStateMethodCallHandler( _ ByVal context As ISystemContext, _ ByVal method As MethodState, _ ByVal objectId As NodeId, _ ByVal state As ServerState, _ ByVal estimatedReturnTime As Date, _ ByVal secondsTillShutdown As UInteger, _ ByVal reason As LocalizedText, _ ByVal restart As Boolean _ ) As ServiceResult |
C# | |
---|---|
public delegate ServiceResult RequestServerStateChangeMethodStateMethodCallHandler( ISystemContext context, MethodState method, NodeId objectId, ServerState state, DateTime estimatedReturnTime, uint secondsTillShutdown, LocalizedText reason, bool restart ) |
Parameters
- context
- method
- objectId
- state
- estimatedReturnTime
- secondsTillShutdown
- reason
- restart
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2