Show / Hide Table of Contents

Class TcpClientEx

Extension of the TcpClient class that implements observation of the object's disposal state.

Inheritance
object
TcpClient
TcpClientEx
Implements
IDisposableEx
IDisposable
Inherited Members
TcpClient.BeginConnect(IPAddress, int, AsyncCallback, object)
TcpClient.BeginConnect(IPAddress[], int, AsyncCallback, object)
TcpClient.BeginConnect(string, int, AsyncCallback, object)
TcpClient.Close()
TcpClient.Connect(IPAddress, int)
TcpClient.Connect(IPAddress[], int)
TcpClient.Connect(IPEndPoint)
TcpClient.Connect(string, int)
TcpClient.ConnectAsync(IPAddress, int)
TcpClient.ConnectAsync(IPAddress, int, CancellationToken)
TcpClient.ConnectAsync(IPAddress[], int)
TcpClient.ConnectAsync(IPAddress[], int, CancellationToken)
TcpClient.ConnectAsync(IPEndPoint)
TcpClient.ConnectAsync(IPEndPoint, CancellationToken)
TcpClient.ConnectAsync(string, int)
TcpClient.ConnectAsync(string, int, CancellationToken)
TcpClient.Dispose()
TcpClient.EndConnect(IAsyncResult)
TcpClient.GetStream()
TcpClient.Active
TcpClient.Available
TcpClient.Client
TcpClient.Connected
TcpClient.ExclusiveAddressUse
TcpClient.LingerState
TcpClient.NoDelay
TcpClient.ReceiveBufferSize
TcpClient.ReceiveTimeout
TcpClient.SendBufferSize
TcpClient.SendTimeout
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Types
Assembly: MCART.dll
Syntax
public class TcpClientEx : TcpClient, IDisposableEx, IDisposable

Properties

| Edit this page View Source

IsDisposed

Gets a value indicating whether the current instance has been disposed.

Declaration
public bool IsDisposed { get; }
Property Value
Type Description
bool

Methods

| Edit this page View Source

Dispose(bool)

Releases the unmanaged resources used by TcpClient and optionally releases the managed resources.

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
bool disposing

Set to true to release both managed and unmanaged resources; set to false to release only unmanaged resources.

Overrides
TcpClient.Dispose(bool)

Implements

IDisposableEx
IDisposable

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX