Compartir a través de


SendCompletedEventArgs Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Provides data for the LocalMessageSender.SendCompleted event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.ComponentModel.AsyncCompletedEventArgs
      System.Windows.Messaging.SendCompletedEventArgs

Namespace:  System.Windows.Messaging
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public NotInheritable Class SendCompletedEventArgs _
    Inherits AsyncCompletedEventArgs
public sealed class SendCompletedEventArgs : AsyncCompletedEventArgs

The SendCompletedEventArgs type exposes the following members.

Properties

  Name Description
Public property Cancelled Gets a value that indicates whether an asynchronous operation has been canceled. (Inherited from AsyncCompletedEventArgs.)
Public property Error Gets a value that indicates which error occurred during an asynchronous operation. (Inherited from AsyncCompletedEventArgs.)
Public property Message Gets the message sent from a LocalMessageSender to a LocalMessageReceiver.
Public property ReceiverDomain Gets the domain of the LocalMessageReceiver that received the message.
Public property ReceiverName Gets the name of the LocalMessageReceiver that received the message.
Public property Response Gets the response message sent to the LocalMessageSender from the LocalMessageReceiver that received the original message.
Public property UserState Gets the unique identifier for the asynchronous task. (Inherited from AsyncCompletedEventArgs.)

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method RaiseExceptionIfNecessary Raises a user-supplied exception if an asynchronous operation failed. (Inherited from AsyncCompletedEventArgs.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.