| IServiceFactoryTryCreateService Method (Type, Object) |
Try to create specified service
Namespace:
SanteDB.Core.Services
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax bool TryCreateService(
Type serviceType,
out Object serviceInstance
)
Function TryCreateService (
serviceType As Type,
<OutAttribute> ByRef serviceInstance As Object
) As Boolean
bool TryCreateService(
Type^ serviceType,
[OutAttribute] Object^% serviceInstance
)
abstract TryCreateService :
serviceType : Type *
serviceInstance : Object byref -> bool
Parameters
- serviceType
- Type: SystemType
[Missing <param name="serviceType"/> documentation for "M:SanteDB.Core.Services.IServiceFactory.TryCreateService(System.Type,System.Object@)"]
- serviceInstance
- Type: SystemObject
[Missing <param name="serviceInstance"/> documentation for "M:SanteDB.Core.Services.IServiceFactory.TryCreateService(System.Type,System.Object@)"]
Return Value
Type:
Boolean[Missing <returns> documentation for "M:SanteDB.Core.Services.IServiceFactory.TryCreateService(System.Type,System.Object@)"]
See Also