Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
ScopedReferenceStore..::.PutService Method
ScopedReferenceStore Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Store a service reference.

Namespace: Tangosol.Net.Internal
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.0)

# Syntax

C#
    public virtual void PutService(
    	IService service,
    	string sName,
    	ServiceType serviceType
    )

#### Parameters

service
  Type: Tangosol.Net..::.IService
  The referenced service.

sName
  Type: System..::.String
  The service name.

serviceType
  Type: Tangosol.Net..::.ServiceType
  The service type.

# Remarks

Service name and type are passed in rather than using service.Info because the service may not have been configured and started yet, so the Info may not be safely available.

# See Also

ScopedReferenceStore Class
Tangosol.Net.Internal Namespace