The ResponseCollectionclass defines an enumerable, read-only collection of Response objects.

This class implements the IEnumerableand ICollectioninterfaces.

The ResponseCollectionclass is derived from the System.Objectclass.

Inheritance hierarchy

System . . :: . . Object
   Microsoft.Rtc.Sip . . :: . . ResponseCollection

Namespace:  Microsoft.Rtc.Sip
Assembly:  ServerAgent(in ServerAgent.dll)

Syntax

Visual Basic (declaration)
Public 
NotInheritable 
Class 
ResponseCollection _
	
Implements 
ICollection, 
IEnumerable
Visual Basic (usage)
Dim 
instance 
As 
ResponseCollection
C#
public 
sealed 
class 
ResponseCollection : 
ICollection, 
	
IEnumerable

Remarks

Some transactions contain more than one response message if the response is of the Class 1 Provisional (1xx) status class. This set includes only those responses that matched message processing rules in the SIP Application Manifests and were dispatched to the application. If the application was never notified of a response, this collection will not contain it. This implies that applications should not poll this collection to see if any new responses came in.

Thread safety

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

See also