Edit

Share via


ResponseCollection Class

Definition

The ResponseCollection class defines an enumerable, read-only collection of Response objects.This class implements the IEnumerable and ICollection interfaces.The ResponseCollection class is derived from the System.Object class.

public ref class ResponseCollection sealed : System::Collections::ICollection
public sealed class ResponseCollection : System.Collections.ICollection
Public NotInheritable Class ResponseCollection
Implements ICollection
Inheritance
ResponseCollection
Implements

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.

Properties

Count

Number of elements contained in the collection.

IsFixedSize

Indicates whether the list has a fixed size.

IsReadOnly

Indicates whether the list is read-only.

IsSynchronized

Indicates whether access to the collection is synchronized.

Item[Int32]

Retrieves a reference to the element at the specified index.

SyncRoot

Object that can be used to synchronize access to the collection.

Methods

Contains(Response)

Determines whether the list contains a specific item.

CopyTo(Array, Int32)

Copies the elements of the collection to an array, starting at a particular array index.

GetEnumerator()

Returns an enumerator that can iterate through the collection.

IndexOf(Response)

Determines the index of a specific item in the list.

Applies to