Partager via


ResponseCollection.Contains

ResponseCollection.Contains

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

Syntax

[C#]

public Boolean Contains(
  Response r
);

Syntax

[Visual Basic .NET]

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

Concepts

Response Sip Class

ResponseCollection