Share via


ServiceAgent Class

Inheritance Hierarchy

System.Object
  Microsoft.Phone.BackgroundAgent
    Microsoft.Phone.DeviceManufacturers.ServiceAgent

Namespace:  Microsoft.Phone.DeviceManufacturers
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

Syntax

'Declaration
Public MustInherit Class ServiceAgent _
    Inherits BackgroundAgent
public abstract class ServiceAgent : BackgroundAgent
public ref class ServiceAgent abstract : public BackgroundAgent
[<AbstractClass>]
type ServiceAgent =  
    class 
        inherit BackgroundAgent 
    end

The ServiceAgent type exposes the following members.

Constructors

  Name Description
Protected method ServiceAgent

Top

Methods

  Name Description
Protected method Abort (Inherited from BackgroundAgent.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method NotifyComplete (Inherited from BackgroundAgent.)
Protected method OnBoot
Protected method OnCancel (Overrides BackgroundAgent.OnCancel().)
Protected method OnRestartAfterUnexpectedTermination
Protected method OnRestartAfterUpdate
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

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.

See Also

Reference

Microsoft.Phone.DeviceManufacturers Namespace