Click or drag to resize

Client Methods

The Client type exposes the following members.

Methods
 NameDescription
Public methodConnect Connect the client to a remote network host.
Public methodConnect(String, Int32) Connect to the host address at the specified port.
Public methodStatic memberConnect(String, Int32, Binding) Overloaded. Use to connect the client to a remote network host using the specified host name (HostName) or IP address (HostAddress) and port number (Port) and/or Binding (BindingV4 or BindingV6).
Public methodConnectNew Overloaded. Opens and returns new connection with specified host and port.
Public methodDispose Disposes the Client Connection.
Protected methodDispose(Boolean) Disposes of the current instance and releases all resources used by it.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodNewConnection Creates a New Client Connection with the specified binding.
Protected methodReleaseConnection Releases the Connection for the specified connection in the Connection Pool.
Protected methodResolveHostName Resolves the host name.
Protected methodResolveHostNameIfNeeded Determines whether it is necessary to resolve the host name based on the Host Address and DNS resolve type, and then resolves the host name accordingly.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Protected methodTriggerOnResolvedHostName Trigger the OnResolvedHostName.
Protected methodTriggerOnResolveHostName Triggers the Resolve
Top
See Also