HttpRuntimeSection Konstruktor

Definition

Initialisiert eine neue Instanz der HttpRuntimeSection Klasse mithilfe von Standardeinstellungen.

public:
 HttpRuntimeSection();
public HttpRuntimeSection();
Public Sub New ()

Beispiele

Das folgende Beispiel zeigt, wie ein HttpRuntimeSection Objekt erstellt wird.

// Get the section related object.
HttpRuntimeSection configSection =
  (HttpRuntimeSection)config.GetSection("system.web/httpRuntime");
' Get the section related object.
Dim configSection As System.Web.Configuration.HttpRuntimeSection = _
 CType(config.GetSection("system.web/httpRuntime"), _
 System.Web.Configuration.HttpRuntimeSection)

Gilt für:

Weitere Informationen