PipelineMessage.TryGetProperty(Type, Object) 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.
Attempts to get a property from the property bag for this PipelineMessage instance. Message properties are used to govern the behavior of specific policies in the ClientPipeline. Please refer to documentation for a specific PipelinePolicy to understand what properties it supports.
public bool TryGetProperty (Type key, out object? value);
member this.TryGetProperty : Type * obj -> bool
Public Function TryGetProperty (key As Type, ByRef value As Object) As Boolean
Parameters
- key
- Type
The key for the property in the message's property bag.
- value
- Object
The value of the property.
Returns
true
if property exists; otherwise false
.
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET