ApiServices Class

 

The ApiServices class provides commonly used context information which can be used within ApiController and IScheduledJob instances. For ApiController instances it is injected by the Dependency Injection engine, either using property injection or constructor injection. For IScheduledJob instances it is injected before the job is executed.

Namespace:   Microsoft.WindowsAzure.Mobile.Service
Assembly:  Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsAzure.Mobile.Service.ApiServices

Syntax

public class ApiServices : IDisposable
public ref class ApiServices : IDisposable
type ApiServices = 
    class
        interface IDisposable
    end
Public Class ApiServices
    Implements IDisposable

Constructors

Name Description
System_CAPS_pubmethod ApiServices(HttpConfiguration)

Properties

Name Description
System_CAPS_pubproperty Config

System_CAPS_pubproperty Log

Gets a ITraceWriter instance that logs to user logs.

System_CAPS_pubproperty Properties

System_CAPS_pubproperty Push

Gets a PushClient which can be used to send push notifications.

System_CAPS_pubproperty Settings

Gets or sets the ServiceSettingsDictionary for this service. The ServiceSettingsDictionary provide information about which settings apply to the service.

Methods

Name Description
System_CAPS_pubmethod Dispose()

System_CAPS_protmethod Dispose(Boolean)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

Microsoft.WindowsAzure.Mobile.Service Namespace

Return to top