ServiceBehaviorAttribute.GetWellKnownSingleton Method ()


Retrieves an object that implements the service and that is used as the singleton instance of the service, or null if there is no singleton instance.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public object GetWellKnownSingleton()

Return Value

Type: System.Object

An implementation of the service. The default value is null.

A non-null value provides the service instance to which all messages addressed to the service will be dispatched.

.NET Framework
Available since 3.0
Return to top