Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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
Show:
© 2017 Microsoft