Event that is raised when a peer discards a subject.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public interface IDiscardEvent : IRequestDiscardEvent
Public Interface IDiscardEvent _ Implements IRequestDiscardEvent
public interface class IDiscardEvent : IRequestDiscardEvent
![](../icons/collapse_all.gif)
All Members | Properties | ||||
Icon | Member | Description |
---|---|---|
![]() | Peer |
Gets the peer that is making the request or discard.
(Inherited from IRequestDiscardEvent.) |
![]() | Subject |
Gets the subject that is being requested or discarded
(Inherited from IRequestDiscardEvent.) |
![](../icons/collapse_all.gif)
Your implementation must handle the receipt of IRequestDiscardEvents through its ReceiveDiscard method. The number of times the event is received depends on the type of IPublisher that is being used; see the Remarks section of ReceiveRequest(IRequestEvent) and ReceiveDiscard(IDiscardEvent).