SubmitToHostEventArgs.ErrorMessage - Propriété
Obtient ou définit le message d'erreur en cas d'échec de la connexion de données lors de l'envoi des données XML du formulaire à la page Web.
Espace de noms : Microsoft.Office.InfoPath.Server.Controls
Assembly : Microsoft.Office.InfoPath.Server (dans Microsoft.Office.InfoPath.Server.dll)
Syntaxe
'Déclaration
Public Property ErrorMessage As String
Get
Set
'Utilisation
Dim instance As SubmitToHostEventArgs
Dim value As String
value = instance.ErrorMessage
instance.ErrorMessage = value
public string ErrorMessage { get; set; }
Valeur de propriété
Type : System.String
Le texte du message d'erreur.
Remarques
Pour plus d'informations sur la création d'une connexion de données SubmitToHostAdapter d'un modèle de formulaire InfoPath, voir Hosting the InfoPath Form Editing Environment in a Custom Web Form.