ResponseCollection.Contains

The Contains method determines whether the specific Response Sip Class object exists in the collection.

Syntax

[C#]

  Copy imageCopy Code
public Boolean Contains(
  Response r
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Function Contains( _
  ByVal r As Response _
) As Boolean

Parameters

r

A Response object to search for within the collection.

Return Values

Returns true if the specified Response object exists in the collection; false if it does not.

Remarks

Matches are based on the object ID, not header values.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also