Export (0) Print
Expand All

MarshalByValueComponent.GetService Method

Gets the implementer of the IServiceProvider.

[Visual Basic]
Public Overridable Function GetService( _
   ByVal service As Type _
) As Object Implements IServiceProvider.GetService
[C#]
public virtual object GetService(
 Type service
);
[C++]
public: virtual Object* GetService(
 Type* service
);
[JScript]
public function GetService(
   service : Type
) : Object;

Parameters

service
A Type that represents the type of service you want.

Return Value

An Object that represents the implementer of the IServiceProvider.

Implements

IServiceProvider.GetService

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

MarshalByValueComponent Class | MarshalByValueComponent Members | System.ComponentModel Namespace | MarshalByValueComponent | IServiceProvider

Show:
© 2014 Microsoft