WebRequestModuleElement.Type Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a class that creates Web requests.
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
Property Value
A Type instance that identifies a Web request module.
- Attributes
Remarks
Using the WebRequest and WebResponse classes, applications can request resources for any valid Uri. Use this property to specify a type that is registered to work with the Create method to create new requests.
The .NET Framework version 2.0 provides Web request modules that create requests for resources with the following prefixes:
HTTP
HTTPS
FTP
FILE
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om