IServiceFactoryGetServiceT 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.

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

T GetService<T>(
	string configuredName
)

Parameters

configuredName
Type: SystemString
the configured name of the server object to get.

Type Parameters

T
the type of service object to return

Return Value

Type: T
A remoting proxy to an implementation of the type represented by the type parameter
Exceptions

ExceptionCondition
ArgumentNullExceptionconfiguredName was null.
RemotingExceptionT is not marshaled by reference and is not an interface
MemberAccessExceptionTa member was invoked with a late-binding mechanism.
Remarks

Call the proxy to send messages to the remote object. No messages are sent over the network until a method is called on the proxy.
See Also

Reference