 | IServiceFactoryTryCreateService(Type, Object) Method |
Try to create specified service
Namespace: SanteDB.Core.ServicesAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxbool 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
[Missing <param name="serviceType"/> documentation for "M:SanteDB.Core.Services.IServiceFactory.TryCreateService(System.Type,System.Object@)"]
- serviceInstance Object
[Missing <param name="serviceInstance"/> documentation for "M:SanteDB.Core.Services.IServiceFactory.TryCreateService(System.Type,System.Object@)"]
Return Value
Boolean[Missing <returns> documentation for "M:SanteDB.Core.Services.IServiceFactory.TryCreateService(System.Type,System.Object@)"]
See Also