Språk

ExceptionDetail(Exception) Konstruktor

Definition

Initierar en ny instans av ExceptionDetail klassen från undantaget.

public:
 ExceptionDetail(Exception ^ exception);
public ExceptionDetail(Exception exception);
new System.ServiceModel.ExceptionDetail : Exception -> System.ServiceModel.ExceptionDetail
Public Sub New (exception As Exception)

Parametrar

exception
Exception

Undantaget som ska serialiseras som ett ExceptionDetail objekt.

Undantag

Parametern exception är null.

Kommentarer

Hjälplänken, meddelandet, stackspårningen och typnamnsinformationen extraheras och läggs till i motsvarande egenskaper i ExceptionDetail.

Gäller för