OpenStackNetConfigure Method |
Note: This API is now obsolete.
DEPRECATED, use the Configuring event instead.
Provides thread-safe accesss to OpenStack.NET's global configuration options.
Can only be called once at application start-up, before instantiating any OpenStack.NET objects.
Namespace: OpenStackAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax [ObsoleteAttribute("This will be removed in v2.0. Use the OpenStackNet.Configuring event instead.")]
public static void Configure(
Action<FlurlHttpSettings> configureFlurl = null,
Action<OpenStackNetConfigurationOptions> configure = null
)
<ObsoleteAttribute("This will be removed in v2.0. Use the OpenStackNet.Configuring event instead.")>
Public Shared Sub Configure (
Optional configureFlurl As Action(Of FlurlHttpSettings) = Nothing,
Optional configure As Action(Of OpenStackNetConfigurationOptions) = Nothing
)
public:
[ObsoleteAttribute(L"This will be removed in v2.0. Use the OpenStackNet.Configuring event instead.")]
static void Configure(
Action<FlurlHttpSettings^>^ configureFlurl = nullptr,
Action<OpenStackNetConfigurationOptions^>^ configure = nullptr
)
[<ObsoleteAttribute("This will be removed in v2.0. Use the OpenStackNet.Configuring event instead.")>]
static member Configure :
?configureFlurl : Action<FlurlHttpSettings> *
?configure : Action<OpenStackNetConfigurationOptions>
(* Defaults:
let _configureFlurl = defaultArg configureFlurl null
let _configure = defaultArg configure null
*)
-> unit
Parameters
- configureFlurl (Optional)
- Type: SystemActionFlurlHttpSettings
Addtional configuration of the OpenStack.NET Flurl client settings . - configure (Optional)
- Type: SystemActionOpenStackNetConfigurationOptions
Additional configuration of OpenStack.NET's global settings.
Version Information .NET Framework
Obsolete (compiler warning) in 4.5
openstack.net
Obsolete (compiler warning) in 1.6
See Also Reference
FlurlHttp.Configure(ActionFlurlHttpSettings)