Show / Hide Table of Contents

Class TcpClientEx

Extensión de la clase TcpClient que implementa observación del estado de deshecho del objeto.

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

Obtiene un valor que indica si la instancia actual ha sido desechada.

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

Methods

| Edit this page View Source

Dispose(bool)

Libera los recursos no administrados que usa TcpClient y libera los recursos administrados de forma opcional.

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

Se establece en true para liberar tanto los recursos administrados como los no administrados; se establece en false para liberar únicamente los recursos no administrados.

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