Share via


OperationMessageCollection.Contains Method

Definition

Overloads

Contains(Int64)

Determines whether the operation message contains the specified ID.

Contains(String)

Determines whether [contains] [the specified id].

Contains(Int64)

Determines whether the operation message contains the specified ID.

public:
 bool Contains(long id);
public bool Contains (long id);
override this.Contains : int64 -> bool
Public Function Contains (id As Long) As Boolean

Parameters

id
Int64

The specified ID.

Returns

True if the operation message contains the specified ID; otherwise, false.

Applies to

Contains(String)

Determines whether [contains] [the specified id].

public:
 bool Contains(System::String ^ id);
public bool Contains (string id);
override this.Contains : string -> bool
Public Function Contains (id As String) As Boolean

Parameters

id
String

The key of the operation message, it could be the string of long or guid.

Returns

true if [contains] [the specified id]; otherwise, false.

Applies to