.NET Framework Class Library SqlDataReader Class Provides a way of reading a forward-only stream of rows from a SQL Server database. This class cannot be inherited.

Inheritance Hierarchy
Namespace:
System.Data.SqlClient
Assembly:
System.Data (in System.Data.dll)

Syntax
Public Class SqlDataReader _
Inherits DbDataReader _
Implements IDataReader, IDisposable, IDataRecord
public class SqlDataReader : DbDataReader,
IDataReader, IDisposable, IDataRecord
public ref class SqlDataReader : public DbDataReader,
IDataReader, IDisposable, IDataRecord
type SqlDataReader =
class
inherit DbDataReader
interface IDataReader
interface IDisposable
interface IDataRecord
end
The SqlDataReader type exposes the following members.

Properties

Methods
|
| Name | Description |
|---|
.gif) | Close | Closes the SqlDataReader object. (Overrides DbDataReader..::.Close()()().) | .gif) | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) | .gif) | Dispose()()() | Releases all resources used by the current instance of the DbDataReader class. (Inherited from DbDataReader.) | .gif) | Dispose(Boolean) | Releases the managed resources used by the DbDataReader and optionally releases the unmanaged resources. (Inherited from DbDataReader.) | .gif) | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | .gif) | GetBoolean | Gets the value of the specified column as a Boolean. (Overrides DbDataReader..::.GetBoolean(Int32).) | .gif) | GetByte | Gets the value of the specified column as a byte. (Overrides DbDataReader..::.GetByte(Int32).) | .gif) | GetBytes | Reads a stream of bytes from the specified column offset into the buffer an array starting at the given buffer offset. (Overrides DbDataReader..::.GetBytes(Int32, Int64, array<Byte>[]()[], Int32, Int32).) | .gif) | GetChar | Gets the value of the specified column as a single character. (Overrides DbDataReader..::.GetChar(Int32).) | .gif) | GetChars | Reads a stream of characters from the specified column offset into the buffer as an array starting at the given buffer offset. (Overrides DbDataReader..::.GetChars(Int32, Int64, array<Char>[]()[], Int32, Int32).) | .gif) | GetData | Returns a DbDataReader object for the requested column ordinal. (Inherited from DbDataReader.) | .gif) | GetDataTypeName | Gets a string representing the data type of the specified column. (Overrides DbDataReader..::.GetDataTypeName(Int32).) | .gif) | GetDateTime | Gets the value of the specified column as a DateTime object. (Overrides DbDataReader..::.GetDateTime(Int32).) | .gif) | GetDateTimeOffset | Retrieves the value of the specified column as a DateTimeOffset object. | .gif) | GetDbDataReader | Returns a DbDataReader object for the requested column ordinal that can be overridden with a provider-specific implementation. (Inherited from DbDataReader.) | .gif) | GetDecimal | Gets the value of the specified column as a Decimal object. (Overrides DbDataReader..::.GetDecimal(Int32).) | .gif) | GetDouble | Gets the value of the specified column as a double-precision floating point number. (Overrides DbDataReader..::.GetDouble(Int32).) | .gif) | GetEnumerator | Returns an IEnumerator that iterates through the SqlDataReader. (Overrides DbDataReader..::.GetEnumerator()()().) | .gif) | GetFieldType | Gets the Type that is the data type of the object. (Overrides DbDataReader..::.GetFieldType(Int32).) | .gif) | GetFloat | Gets the value of the specified column as a single-precision floating point number. (Overrides DbDataReader..::.GetFloat(Int32).) | .gif) | GetGuid | Gets the value of the specified column as a globally unique identifier (GUID). (Overrides DbDataReader..::.GetGuid(Int32).) | .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | .gif) | GetInt16 | Gets the value of the specified column as a 16-bit signed integer. (Overrides DbDataReader..::.GetInt16(Int32).) | .gif) | GetInt32 | Gets the value of the specified column as a 32-bit signed integer. (Overrides DbDataReader..::.GetInt32(Int32).) | .gif) | GetInt64 | Gets the value of the specified column as a 64-bit signed integer. (Overrides DbDataReader..::.GetInt64(Int32).) | .gif) | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | .gif) | GetName | Gets the name of the specified column. (Overrides DbDataReader..::.GetName(Int32).) | .gif) | GetOrdinal | Gets the column ordinal, given the name of the column. (Overrides DbDataReader..::.GetOrdinal(String).) | .gif) | GetProviderSpecificFieldType | Gets an Object that is a representation of the underlying provider-specific field type. (Overrides DbDataReader..::.GetProviderSpecificFieldType(Int32).) | .gif) | GetProviderSpecificValue | Gets an Object that is a representation of the underlying provider specific value. (Overrides DbDataReader..::.GetProviderSpecificValue(Int32).) | .gif) | GetProviderSpecificValues | Gets an array of objects that are a representation of the underlying provider specific values. (Overrides DbDataReader..::.GetProviderSpecificValues(array<Object>[]()[]).) | .gif) | GetSchemaTable | Returns a DataTable that describes the column metadata of the SqlDataReader. (Overrides DbDataReader..::.GetSchemaTable()()().) | .gif) | GetSqlBinary | Gets the value of the specified column as a SqlBinary. | .gif) | GetSqlBoolean | Gets the value of the specified column as a SqlBoolean. | .gif) | GetSqlByte | Gets the value of the specified column as a SqlByte. | .gif) | GetSqlBytes | Gets the value of the specified column as SqlBytes. | .gif) | GetSqlChars | Gets the value of the specified column as SqlChars. | .gif) | GetSqlDateTime | Gets the value of the specified column as a SqlDateTime. | .gif) | GetSqlDecimal | Gets the value of the specified column as a SqlDecimal. | .gif) | GetSqlDouble | Gets the value of the specified column as a SqlDouble. | .gif) | GetSqlGuid | Gets the value of the specified column as a SqlGuid. | .gif) | GetSqlInt16 | Gets the value of the specified column as a SqlInt16. | .gif) | GetSqlInt32 | Gets the value of the specified column as a SqlInt32. | .gif) | GetSqlInt64 | Gets the value of the specified column as a SqlInt64. | .gif) | GetSqlMoney | Gets the value of the specified column as a SqlMoney. | .gif) | GetSqlSingle | Gets the value of the specified column as a SqlSingle. | .gif) | GetSqlString | Gets the value of the specified column as a SqlString. | .gif) | GetSqlValue | Returns the data value in the specified column as a SQL Server type. | .gif) | GetSqlValues | Fills an array of Object that contains the values for all the columns in the record, expressed as SQL Server types. | .gif) | GetSqlXml | Gets the value of the specified column as an XML value. | .gif) | GetString | Gets the value of the specified column as a string. (Overrides DbDataReader..::.GetString(Int32).) | .gif) | GetTimeSpan | Retrieves the value of the specified column as a TimeSpan object. | .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | .gif) | GetValue | Gets the value of the specified column in its native format. (Overrides DbDataReader..::.GetValue(Int32).) | .gif) | GetValues | Populates an array of objects with the column values of the current row. (Overrides DbDataReader..::.GetValues(array<Object>[]()[]).) | .gif) | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) | .gif) | IsCommandBehavior | Determines whether the specified CommandBehavior matches that of the SqlDataReader . | .gif) | IsDBNull | Gets a value that indicates whether the column contains non-existent or missing values. (Overrides DbDataReader..::.IsDBNull(Int32).) | .gif) | MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | .gif) | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) | .gif) | NextResult | Advances the data reader to the next result, when reading the results of batch Transact-SQL statements. (Overrides DbDataReader..::.NextResult()()().) | .gif) | Read | Advances the SqlDataReader to the next record. (Overrides DbDataReader..::.Read()()().) | .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | Top

Explicit Interface Implementations

Remarks
To create a SqlDataReader, you must call the ExecuteReader method of the SqlCommand object, instead of directly using a constructor. While the SqlDataReader is being used, the associated SqlConnection is busy serving the SqlDataReader, and no other operations can be performed on the SqlConnection other than closing it. This is the case until the Close method of the SqlDataReader is called. For example, you cannot retrieve output parameters until after you call Close. Changes made to a result set by another process or thread while data is being read may be visible to the user of the SqlDataReader. However, the precise behavior is timing dependent.
IsClosed and RecordsAffected are the only properties that you can call after the SqlDataReader is closed. Although the RecordsAffected property may be accessed while the SqlDataReader exists, always call Close before returning the value of RecordsAffected to guarantee an accurate return value. Note |
|---|
For optimal performance, SqlDataReader avoids creating unnecessary objects or making unnecessary copies of data. Therefore, multiple calls to methods such as GetValue return a reference to the same object. Use caution if you are modifying the underlying value of the objects returned by methods such as GetValue. |

Examples
The following example creates a SqlConnection, a SqlCommand, and a SqlDataReader. The example reads through the data, writing it out to the console window. The code then closes the SqlDataReader. The SqlConnection is closed automatically at the end of the using code block.
Private Sub ReadOrderData(ByVal connectionString As String)
Dim queryString As String = _
"SELECT OrderID, CustomerID FROM dbo.Orders;"
Using connection As New SqlConnection(connectionString)
Dim command As New SqlCommand(queryString, connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
' Call Read before accessing data.
While reader.Read()
Console.WriteLine(String.Format("{0}, {1}", _
reader(0), reader(1)))
End While
' Call Close when done reading.
reader.Close()
End Using
End Sub
private static void ReadOrderData(string connectionString)
{
string queryString =
"SELECT OrderID, CustomerID FROM dbo.Orders;";
using (SqlConnection connection =
new SqlConnection(connectionString))
{
SqlCommand command =
new SqlCommand(queryString, connection);
connection.Open();
SqlDataReader reader = command.ExecuteReader();
// Call Read before accessing data.
while (reader.Read())
{
Console.WriteLine(String.Format("{0}, {1}",
reader[0], reader[1]));
}
// Call Close when done reading.
reader.Close();
}
}

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also
|
Biblioteca de clases de .NET Framework SqlDataReader (Clase) Proporciona una forma de leer una secuencia de filas sólo hacia delante en una base de datos de SQL Server. Esta clase no puede heredarse.

Jerarquía de herencia
Espacio de nombres:
System.Data.SqlClient
Ensamblado:
System.Data (en System.Data.dll)

Sintaxis
Public Class SqlDataReader _
Inherits DbDataReader _
Implements IDataReader, IDisposable, IDataRecord
public class SqlDataReader : DbDataReader,
IDataReader, IDisposable, IDataRecord
public ref class SqlDataReader : public DbDataReader,
IDataReader, IDisposable, IDataRecord
type SqlDataReader =
class
inherit DbDataReader
interface IDataReader
interface IDisposable
interface IDataRecord
end
El tipo SqlDataReader expone los siguientes miembros.

Propiedades

Métodos
|
| Nombre | Descripción |
|---|
.gif) | Close | Cierra el objeto SqlDataReader. (Invalida a DbDataReader..::.Close()()()). | .gif) | CreateObjRef | Crea un objeto que contiene toda la información relevante necesaria para generar un proxy utilizado para comunicarse con un objeto remoto. (Se hereda de MarshalByRefObject). | .gif) | Dispose()()() | Libera todos los recursos utilizados por la instancia actual de la clase DbDataReader. (Se hereda de DbDataReader). | .gif) | Dispose(Boolean) | Libera los recursos no administrados que utiliza DbDataReader y, opcionalmente, también libera los recursos administrados. (Se hereda de DbDataReader). | .gif) | Equals(Object) | Determina si el objeto Object especificado es igual al objeto Object actual. (Se hereda de Object). | .gif) | Finalize | Permite que un objeto intente liberar recursos y realizar otras operaciones de limpieza antes de ser reclamado por la recolección de elementos no utilizados. (Se hereda de Object). | .gif) | GetBoolean | Obtiene el valor de la columna especificada como tipo Boolean. (Invalida a DbDataReader..::.GetBoolean(Int32)). | .gif) | GetByte | Obtiene el valor de la columna especificada como byte. (Invalida a DbDataReader..::.GetByte(Int32)). | .gif) | GetBytes | Lee una secuencia de bytes a partir del desplazamiento de la columna especificada en el búfer como una matriz que se inicia en el desplazamiento del búfer dado. (Invalida a DbDataReader..::.GetBytes(Int32, Int64, array<Byte>[]()[], Int32, Int32)). | .gif) | GetChar | Obtiene el valor de la columna especificada como un único carácter. (Invalida a DbDataReader..::.GetChar(Int32)). | .gif) | GetChars | Lee una secuencia de caracteres del desplazamiento de columna que se haya especificado en el búfer como matriz, comenzando en el desplazamiento de búfer dado. (Invalida a DbDataReader..::.GetChars(Int32, Int64, array<Char>[]()[], Int32, Int32)). | .gif) | GetData | Devuelve un objeto DbDataReader para el ordinal de columna solicitado. (Se hereda de DbDataReader). | .gif) | GetDataTypeName | Obtiene una cadena que representa el tipo de datos de la columna especificada. (Invalida a DbDataReader..::.GetDataTypeName(Int32)). | .gif) | GetDateTime | Obtiene el valor de la columna especificada como un objeto DateTime. (Invalida a DbDataReader..::.GetDateTime(Int32)). | .gif) | GetDateTimeOffset | Recupera el valor de la columna especificada como objeto DateTimeOffset. | .gif) | GetDbDataReader | Devuelve un objeto DbDataReader para el índice de columna solicitado que se puede reemplazar con una implementación específica del proveedor. (Se hereda de DbDataReader). | .gif) | GetDecimal | Obtiene el valor de la columna especificada como un objeto Decimal. (Invalida a DbDataReader..::.GetDecimal(Int32)). | .gif) | GetDouble | Obtiene el valor de la columna especificada como un número de punto flotante de precisión doble. (Invalida a DbDataReader..::.GetDouble(Int32)). | .gif) | GetEnumerator | Devuelve un IEnumerator que recorre en iteración SqlDataReader. (Invalida a DbDataReader..::.GetEnumerator()()()). | .gif) | GetFieldType | Obtiene el objeto Type que es el tipo de datos del objeto. (Invalida a DbDataReader..::.GetFieldType(Int32)). | .gif) | GetFloat | Obtiene el valor de la columna especificada como un número de punto flotante de precisión sencilla. (Invalida a DbDataReader..::.GetFloat(Int32)). | .gif) | GetGuid | Obtiene el valor de la columna especificada en forma de identificador global único (GUID). (Invalida a DbDataReader..::.GetGuid(Int32)). | .gif) | GetHashCode | Actúa como función hash para un tipo concreto. (Se hereda de Object). | .gif) | GetInt16 | Obtiene el valor de la columna especificada como un entero de 16 bits con signo. (Invalida a DbDataReader..::.GetInt16(Int32)). | .gif) | GetInt32 | Obtiene el valor de la columna especificada como un entero de 32 bits con signo. (Invalida a DbDataReader..::.GetInt32(Int32)). | .gif) | GetInt64 | Obtiene el valor de la columna especificada como un entero de 64 bits con signo. (Invalida a DbDataReader..::.GetInt64(Int32)). | .gif) | GetLifetimeService | Recupera el objeto de servicio de duración actual que controla la directiva de duración de esta instancia. (Se hereda de MarshalByRefObject). | .gif) | GetName | Obtiene el nombre de la columna especificada. (Invalida a DbDataReader..::.GetName(Int32)). | .gif) | GetOrdinal | Obtiene el ordinal de la columna a partir del nombre de la columna determinado. (Invalida a DbDataReader..::.GetOrdinal(String)). | .gif) | GetProviderSpecificFieldType | Obtiene un Object que es una representación del tipo de campo específico del proveedor subyacente. (Invalida a DbDataReader..::.GetProviderSpecificFieldType(Int32)). | .gif) | GetProviderSpecificValue | Obtiene un Object que es una representación del valor específico del proveedor subyacente. (Invalida a DbDataReader..::.GetProviderSpecificValue(Int32)). | .gif) | GetProviderSpecificValues | Obtiene una matriz de objetos que son una representación de los valores específicos del proveedor subyacentes. (Invalida a DbDataReader..::.GetProviderSpecificValues(array<Object>[]()[])). | .gif) | GetSchemaTable | Devuelve una DataTable que describe los metadatos de columna del SqlDataReader. (Invalida a DbDataReader..::.GetSchemaTable()()()). | .gif) | GetSqlBinary | Obtiene el valor de la columna especificada en forma de SqlBinary. | .gif) | GetSqlBoolean | Obtiene el valor de la columna especificada en forma de SqlBoolean. | .gif) | GetSqlByte | Obtiene el valor de la columna especificada en forma de SqlByte. | .gif) | GetSqlBytes | Obtiene el valor de la columna especificada en forma de SqlBytes. | .gif) | GetSqlChars | Obtiene el valor de la columna especificada en forma de SqlChars. | .gif) | GetSqlDateTime | Obtiene el valor de la columna especificada en forma de SqlDateTime. | .gif) | GetSqlDecimal | Obtiene el valor de la columna especificada en forma de SqlDecimal. | .gif) | GetSqlDouble | Obtiene el valor de la columna especificada en forma de SqlDouble. | .gif) | GetSqlGuid | Obtiene el valor de la columna especificada en forma de SqlGuid. | .gif) | GetSqlInt16 | Obtiene el valor de la columna especificada en forma de SqlInt16. | .gif) | GetSqlInt32 | Obtiene el valor de la columna especificada en forma de SqlInt32. | .gif) | GetSqlInt64 | Obtiene el valor de la columna especificada en forma de SqlInt64. | .gif) | GetSqlMoney | Obtiene el valor de la columna especificada en forma de SqlMoney. | .gif) | GetSqlSingle | Obtiene el valor de la columna especificada en forma de SqlSingle. | .gif) | GetSqlString | Obtiene el valor de la columna especificada en forma de SqlString. | .gif) | GetSqlValue | Devuelve el valor de datos de la columna especificada como tipo de SQL Server. | .gif) | GetSqlValues | Rellena una matriz de Object que contiene los valores de todas las columnas en el registro, expresados como tipos de SQL Server. | .gif) | GetSqlXml | Obtiene el valor de la columna especificada como un valor XML. | .gif) | GetString | Obtiene el valor de la columna especificada como una cadena. (Invalida a DbDataReader..::.GetString(Int32)). | .gif) | GetTimeSpan | Recupera el valor de la columna especificada como objeto TimeSpan. | .gif) | GetType | Obtiene el objeto Type de la instancia actual. (Se hereda de Object). | .gif) | GetValue | Obtiene el valor de la columna especificada en su formato nativo. (Invalida a DbDataReader..::.GetValue(Int32)). | .gif) | GetValues | Rellena una matriz de objetos con los valores de columna de la fila actual. (Invalida a DbDataReader..::.GetValues(array<Object>[]()[])). | .gif) | InitializeLifetimeService | Obtiene un objeto de servicio de duración para controlar la directiva de duración de esta instancia. (Se hereda de MarshalByRefObject). | .gif) | IsCommandBehavior | Determina si el valor de CommandBehavior especificado coincide con el de SqlDataReader. | .gif) | IsDBNull | Obtiene un valor que indica si la columna contiene valores no existentes o que faltan. (Invalida a DbDataReader..::.IsDBNull(Int32)). | .gif) | MemberwiseClone()()() | Crea una copia superficial del objeto Object actual. (Se hereda de Object). | .gif) | MemberwiseClone(Boolean) | Crea una copia superficial del objeto MarshalByRefObject actual. (Se hereda de MarshalByRefObject). | .gif) | NextResult | Desplaza el lector de datos al siguiente resultado cuando se leen los resultados de las instrucciones de Transact-SQL por lotes. (Invalida a DbDataReader..::.NextResult()()()). | .gif) | Read | Desplaza SqlDataReader hasta el siguiente registro. (Invalida a DbDataReader..::.Read()()()). | .gif) | ToString | Devuelve una cadena que representa el objeto actual. (Se hereda de Object). | Arriba

Implementaciones explícitas de interfaces

Comentarios
Para crear un SqlDataReader, se debe llamar al método ExecuteReader del objeto SqlCommand, en lugar de utilizar directamente un constructor. Mientras se está utilizando SqlDataReader, el objeto SqlConnection asociado está ocupado dando servicio a SqlDataReader, y en SqlConnection no se puede realizar ninguna otra operación, excepto la de cerrar. Esto es así hasta que se llama al método Close de SqlDataReader. Por ejemplo, no se pueden recuperar parámetros de salida hasta después de llamar a Close. Los cambios que realiza otro proceso o subproceso en un conjunto de resultados mientras se leen los datos, pueden ser visibles para el usuario de SqlDataReader. Sin embargo, el comportamiento exacto depende de los intervalos de tiempo.
IsClosed y RecordsAffected son las únicas propiedades que se pueden llamar después de cerrar SqlDataReader. Si bien se puede obtener acceso a la propiedad RecordsAffected mientras exista SqlDataReader, se debe llamar siempre al método Close antes de devolver el valor de RecordsAffected para garantizar que el valor devuelto sea exacto. Nota |
|---|
Para obtener un rendimiento óptimo, SqlDataReader evita crear objetos innecesarios o hacer copias de objetos innecesarias. Por tanto, varias llamadas a los métodos como GetValue devuelven una referencia al mismo objeto. Conviene tener mucho cuidado si se modifica el valor subyacente de los objetos devueltos por métodos como GetValue. |

Ejemplos
En el siguiente ejemplo, se crean una conexión SqlConnection, un objeto SqlCommand y un SqlDataReader. En el ejemplo se leen los datos y se escriben en la ventana de la consola. Seguidamente, el código cierra SqlDataReader. SqlConnection se cierra automáticamente al final del bloque de código using.
Private Sub ReadOrderData(ByVal connectionString As String)
Dim queryString As String = _
"SELECT OrderID, CustomerID FROM dbo.Orders;"
Using connection As New SqlConnection(connectionString)
Dim command As New SqlCommand(queryString, connection)
connection.Open()
Dim reader As SqlDataReader = command.ExecuteReader()
' Call Read before accessing data.
While reader.Read()
Console.WriteLine(String.Format("{0}, {1}", _
reader(0), reader(1)))
End While
' Call Close when done reading.
reader.Close()
End Using
End Sub
private static void ReadOrderData(string connectionString)
{
string queryString =
"SELECT OrderID, CustomerID FROM dbo.Orders;";
using (SqlConnection connection =
new SqlConnection(connectionString))
{
SqlCommand command =
new SqlCommand(queryString, connection);
connection.Open();
SqlDataReader reader = command.ExecuteReader();
// Call Read before accessing data.
while (reader.Read())
{
Console.WriteLine(String.Format("{0}, {1}",
reader[0], reader[1]));
}
// Call Close when done reading.
reader.Close();
}
}

Información de versión
.NET FrameworkCompatible con: 4, 3.5, 3.0, 2.0, 1.1, 1.0 .NET Framework Client ProfileCompatible con: 4, 3.5 SP1

Plataformas
Windows 7, Windows Vista SP1 o posterior, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (no se admite Server Core), Windows Server 2008 R2 (se admite Server Core con SP1 o posterior), Windows Server 2003 SP2
.NET Framework no admite todas las versiones de todas las plataformas. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Seguridad para subprocesos
Todos los miembros static ( Shared en Visual Basic) públicos de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancias sean seguros para la ejecución de subprocesos.

Vea también
|