ServiceFactoryTryGetServiceT Method Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

When implemented in derived classes, retrieves a proxy to a well-known remote server object. A return value indicates whether the service could be created.

Namespace: ContentStudio.Api.Extensions
Assembly: ContentStudio.Api.Extensions (in ContentStudio.Api.Extensions.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public virtual bool TryGetService<T>(
	string configuredName,
	out T result
)

Parameters

configuredName
Type: SystemString
the configured name of the server object to get.
result
Type: T
When this method returns contains a proxy to a well-known remote server object when successful, or null when failed.

Type Parameters

T
the type of service object to return

Return Value

Type: Boolean
true if the operation was successful; otherwise, false

Implements

IServiceFactoryTryGetServiceT(String, T)
See Also

Reference