Share via


WebRequestModuleElement.Type Propiedad

Definición

Obtiene o establece una clase que crea solicitudes Web.

public:
 property Type ^ Type { Type ^ get(); void set(Type ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Net.Configuration.WebRequestModuleElement+TypeTypeConverter))]
[System.Configuration.ConfigurationProperty("type")]
public Type Type { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Net.Configuration.WebRequestModuleElement+TypeTypeConverter))>]
[<System.Configuration.ConfigurationProperty("type")>]
member this.Type : Type with get, set
Public Property Type As Type

Valor de propiedad

Una instancia de Type que identifica un módulo de solicitud Web.

Atributos

Comentarios

Con las clases y , las WebRequest aplicaciones pueden solicitar recursos para cualquier válidoUri.WebResponse Utilice esta propiedad para especificar un tipo registrado para trabajar con el Create método para crear nuevas solicitudes.

.NET Framework versión 2.0 proporciona módulos de solicitud web que crean solicitudes para recursos con los siguientes prefijos:

  • HTTP

  • HTTPS

  • FTP

  • FILE

Se aplica a