Create a space proxy which its lifecycle is managed by the container.
The caller does not need to take care of shutting down or disposing the proxy when the container is disposing.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
[ObsoleteAttribute("Since 10.0 - Use CreateEmbeddedSpace(EmbeddedSpaceFactory) instead.")] public ISpaceProxy CreateSpaceProxy( string name, string url, SpaceConfig spaceConfig, bool clusterInfoAware )
<ObsoleteAttribute("Since 10.0 - Use CreateEmbeddedSpace(EmbeddedSpaceFactory) instead.")> _ Public Function CreateSpaceProxy ( _ name As String, _ url As String, _ spaceConfig As SpaceConfig, _ clusterInfoAware As Boolean _ ) As ISpaceProxy
[ObsoleteAttribute(L"Since 10.0 - Use CreateEmbeddedSpace(EmbeddedSpaceFactory) instead.")] public: ISpaceProxy^ CreateSpaceProxy( String^ name, String^ url, SpaceConfig^ spaceConfig, bool clusterInfoAware )
/** @attribute ObsoleteAttribute("Since 10.0 - Use CreateEmbeddedSpace(EmbeddedSpaceFactory) instead.") */ public ISpaceProxy CreateSpaceProxy( String name, String url, SpaceConfig spaceConfig, boolean clusterInfoAware )
Parameters
- name (String)
- Space proxy name.
- url (String)
- Space proxy creation url.
- spaceConfig (SpaceConfig)
- Space proxy configuration.
- clusterInfoAware (Boolean)
- Is space proxy aware to the container cluster info.
Return Value
Space proxy.