Share via


DomainDataSource.SubmittedChanges Event

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Occurs whenever a submit operation is completed.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Public Event SubmittedChanges As EventHandler(Of SubmittedChangesEventArgs)
'Usage
Dim instance As DomainDataSource
Dim handler As EventHandler(Of SubmittedChangesEventArgs)

AddHandler instance.SubmittedChanges, handler
public event EventHandler<SubmittedChangesEventArgs> SubmittedChanges
public:
 event EventHandler<SubmittedChangesEventArgs^>^ SubmittedChanges {
    void add (EventHandler<SubmittedChangesEventArgs^>^ value);
    void remove (EventHandler<SubmittedChangesEventArgs^>^ value);
}
member SubmittedChanges : IEvent<EventHandler<SubmittedChangesEventArgs>,
    SubmittedChangesEventArgs>
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event is raised on the completion of an asynchronous SubmitChanges operation.

If the operation was canceled by way of CancelSubmit, the Cancelled flag will be true. Also, exceptions that occurred during the operation will be available on Error.

If the submit was canceled from the SubmittingChanges event, this event will not be raised. Also, if there were no changes this event will not be raised.

See Also

Reference

DomainDataSource Class

System.Windows.Controls Namespace