AsyncWcfLib

ActorOutput.TryConnect Method

'TryConnect' opens the outgoing connection to the previously linked partner. The method is accessible by the owner of this ActorOutput object only. No interface exposes the method. TryConnect picks up the synchronization context and must be called on the sending thread only! The connect-process runs asynchronous and may involve an address lookup at the WcfRouter. A WcfPartnerMessage is received, after the connection has been established. A WcfErrorMessage is received, when the partner is not reachable.

public bool TryConnect();

Return Value

false, when the connect-process is not startable.

Implements

IWcfBasicPartner.TryConnect

See Also

ActorOutput Class | SourceForge.AsyncWcfLib Namespace