ArcFM Engine Developer Guide
GetService(Type) Method


The type of service to retrieve.
Gets the requested service.
Syntax
'Declaration
 
Public Overloads Shared Function GetService( _
   ByVal service As Type _
) As Object
'Usage
 
Dim service As Type
Dim value As Object
 
value = RxApp.GetService(service)
public static object GetService( 
   Type service
)

Parameters

service
The type of service to retrieve.

Return Value

An instance of the service if it could be found, or null if it counld not.
Exceptions
ExceptionDescription
WrongThreadException A WrongThreadException will be thrown if attempting to retrieve a COM service type from an MTA thread.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

RxApp Class
RxApp Members
Overload List

 

 


Send Comment