ExceptionDetail(Exception) Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la ExceptionDetail classe à partir de l’exception.
public:
ExceptionDetail(Exception ^ exception);
public ExceptionDetail(Exception exception);
new System.ServiceModel.ExceptionDetail : Exception -> System.ServiceModel.ExceptionDetail
Public Sub New (exception As Exception)
Paramètres
- exception
- Exception
Exception à sérialiser en tant qu’objet ExceptionDetail .
Exceptions
Le exception paramètre est null.
Remarques
Le lien d’aide, le message, la trace de pile et les informations de nom de type sont extraites et ajoutées aux propriétés équivalentes dans ExceptionDetail.