Share via


Task.InitializeLifetimeService Method ()

 

Obtains a lifetime service object to control the lifetime policy for this instance.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

[SecurityCriticalAttribute]
public override sealed object InitializeLifetimeService()
public:
[SecurityCriticalAttribute]
virtual Object^ InitializeLifetimeService() override sealed
<SecurityCriticalAttribute>
Public Overrides NotOverridable Function InitializeLifetimeService As Object

Return Value

Type: System.Object

An instance of Object.

Remarks

For more information about the LifetimeServices class, see the Microsoft Web site (https://go.microsoft.com/fwlink/?LinkId=116102).

See Also

Task Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top