[This is preliminary documentation and is subject to change.]
Sets RemoteInstance to null. This method is needed when the same instance of client endpoint is used to make subsequent statefull calls
to different server instances. Call this method before calling [Constructor]-decorated remote method or making the first call to
InstanceLifetime.AutoconstructedStateful servers.
Namespace: NFX.GlueAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public void ForgetRemoteInstance()
public void ForgetRemoteInstance()
Public Sub ForgetRemoteInstance
Public Sub ForgetRemoteInstance
public:
void ForgetRemoteInstance()
public:
void ForgetRemoteInstance()
member ForgetRemoteInstance : unit -> unit
member ForgetRemoteInstance : unit -> unit
The remote instance ID is retained locally even after a call to [Destructor]-decorated remote method. This is needed because
a call to destructor may be asynchronous and it may be necessary to know the ID of the instance (that has already died on remote host) after call returns.
Call ForgetRemoteInstance() to deterministically nullify the local cached ID.