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 | |
---|---|---|
ApiServices(HttpConfiguration) |
Properties
Name | Description | |
---|---|---|
Config | ||
Log | Gets a ITraceWriter instance that logs to user logs. |
|
Properties | ||
Push | Gets a PushClient which can be used to send push notifications. |
|
Settings | Gets or sets the ServiceSettingsDictionary for this service. The ServiceSettingsDictionary provide information about which settings apply to the service. |
Methods
Name | Description | |
---|---|---|
Dispose() | ||
Dispose(Boolean) | ||
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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