ExternalDataExchangeService.GetService(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the service implementation of the specified interface type, if the service is available.
public:
System::Object ^ GetService(Type ^ serviceType);
public:
virtual System::Object ^ GetService(Type ^ serviceType);
public object GetService (Type serviceType);
public virtual object GetService (Type serviceType);
member this.GetService : Type -> obj
abstract member GetService : Type -> obj
override this.GetService : Type -> obj
Public Function GetService (serviceType As Type) As Object
Public Overridable Function GetService (serviceType As Type) As Object
Parameters
Returns
An object that implements the requested service, or null (Nothing
in Visual Basic) if the service cannot be resolved.
Exceptions
service
is a null reference (Nothing
).
The service is not registered with the runtime.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.