HttpConfigurationExtensions.GetIsSingletonInstance Method (HttpConfiguration)
Gets a value indicating whether the service is guaranteed to run as a singleton service, i.e. only using one instance, or whether it is running in an environment with potentially multiple instances.
Namespace: System.Web.Http
Assembly: Microsoft.Azure.Mobile.Server (in Microsoft.Azure.Mobile.Server.dll)
Syntax
public static bool GetIsSingletonInstance(
this HttpConfiguration config
)
public:
[ExtensionAttribute]
static bool GetIsSingletonInstance(
HttpConfiguration^ config
)
static member GetIsSingletonInstance :
config:HttpConfiguration -> bool
<ExtensionAttribute>
Public Shared Function GetIsSingletonInstance (
config As HttpConfiguration
) As Boolean
Parameters
config
Type: System.Web.Http.HttpConfigurationThe current HttpConfiguration.
Return Value
Type: System.Boolean
true is this service runs as a singleton instance; false if it potentially can run as multiple instances.
See Also
HttpConfigurationExtensions Class
System.Web.Http Namespace
Return to top