CustomErrorCollection.Item[] Proprietà

Definizione

Ottiene l'oggetto specificato CustomError.

Overload

Nome Descrizione
Item[Int32]

Ottiene l'oggetto CustomError con l'indice specificato.

Item[String]

Ottiene l'oggetto CustomError con il codice di stato specificato.

Item[Int32]

Ottiene l'oggetto CustomError con l'indice specificato.

public:
 property System::Web::Configuration::CustomError ^ default[int] { System::Web::Configuration::CustomError ^ get(int index); void set(int index, System::Web::Configuration::CustomError ^ value); };
public System.Web.Configuration.CustomError this[int index] { get; set; }
member this.Item(int) : System.Web.Configuration.CustomError with get, set
Default Public Property Item(index As Integer) As CustomError

Parametri

index
Int32

Indice dell'errore di raccolta.

Valore della proprietà

Oggetto CustomError in corrispondenza dell'indice specificato.

Si applica a

Item[String]

Ottiene l'oggetto CustomError con il codice di stato specificato.

public:
 property System::Web::Configuration::CustomError ^ default[System::String ^] { System::Web::Configuration::CustomError ^ get(System::String ^ statusCode); };
public System.Web.Configuration.CustomError this[string statusCode] { get; }
member this.Item(string) : System.Web.Configuration.CustomError
Default Public ReadOnly Property Item(statusCode As String) As CustomError

Parametri

statusCode
String

Codice di stato HTTP.

Valore della proprietà

Oggetto CustomError con il codice di stato specificato.

Si applica a