Click or drag to resize

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
)

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