Exports a service, register it under the specified lookup names.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
IServiceRegistration Publish( Object service, params string[] lookupNames )
Function Publish ( _ service As Object, _ ParamArray lookupNames As String() _ ) As IServiceRegistration
IServiceRegistration^ Publish( Object^ service, ... array<String^>^ lookupNames )
IServiceRegistration Publish( Object service, String[] lookupNames )
Parameters
- service (Object)
- Service to export.
- lookupNames (array<String>[]()[][])
- Lookup names under which to register the service.
Return Value
Service registration.