ArcFM Responder Mobile 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 System.Type _
) As System.Object
'Usage
 
Dim service As System.Type
Dim value As System.Object
 
value = RxApp.GetService(service)
public static System.object GetService( 
   System.Type service
)
public function GetService( 
    service: System.Type
): System.TObject; static; 
public static function GetService( 
   service : System.Type
) : System.Object;
public: static System.Object* GetService( 
   System.Type* service
) 
public:
static System.Object^ GetService( 
   System.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RxApp Class
RxApp Members
Overload List

Send Feedback