AifServiceContainer.AddService<T> Method (Type, T)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Adds the service.
Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)
Syntax
public void AddService<T>(
Type type,
T service
)
where T : class
Public Sub AddService(Of T As Class) (
type As Type,
service As T
)
Parameters
type
Type: System.TypeSpecifies the service type, interface.
service
Type: TSpecifies the service.
Type Parameters
- T
Specifies the type of service.
See Also
AifServiceContainer Class
Microsoft.Uii.AifServices Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright