Partilhar via


MessageReceivedEventArgs Members

Include Protected Members
Include Inherited Members

Represents the argument for relay events.

The MessageReceivedEventArgs type exposes the following members.

Constructors

  Name Description
Protected method MessageReceivedEventArgs Initializes the new instance of the class.

Top

Properties

  Name Description
Public property Connection Gets the connection associated with this message. This can be null.
Public property ContentType Gets the MIME type of the relay message. Can be null if the message has no content type.
Public property DisableAutomaticResponse Gets or sets whether the response is handled. If true, the application is responsible for sending the response.
Public property HasTextBody Indicates whether the TextBody field has been filled out.
Public property MessageType Gets the message type of the body.
Public property Participant Gets the participant that generated this message.
Public property RequestData Gets the SIP request data for the event. This can be null in some instances. (inherited from SipRequestReceivedEventArgs)
Public property TextBody Returns the body in the form of a string if the content was easily convertable.

Top

Methods

  Name Description
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetBody Retrieves the body of the message.
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method SendResponse(Int32) Sends a response to this message with specified response code. This method is optional for message received events. If the application does not call SendResponse in MessageReceived handlers, the platform will automatically respond with ResponseCode.Succeeded.
Public method SendResponse(Int32, ContentType, String, IEnumerable<SignalingHeader>) Sends response to this message with a specified body and specified headers. This method is optional for message received events. If the application does not call SendResponse in MessageReceived handlers, the platform will automatically respond with ResponseCode.Succeeded.
Public method ToString (inherited from Object)

Top

See Also

Reference

MessageReceivedEventArgs Class

Microsoft.Rtc.Signaling Namespace