ExceptionDetail(Exception) Constructeur

Définition

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.

S’applique à