MessageProperties.ContainsKey(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the MessageProperties contains a specific name, key, or identifier.
public:
virtual bool ContainsKey(System::String ^ name);
public bool ContainsKey (string name);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (name As String) As Boolean
Parameters
- name
- String
The name, key, or identifier to locate in the MessageProperties.
Returns
true
if the MessageProperties contains an element with the specified name
; otherwise, false
.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.