CorrelationCallbackMessageProperty.TryGet 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 the attached CorrelationCallbackMessageProperty from a message or a collection of message properties.
Overloads
TryGet(Message, CorrelationCallbackMessageProperty) |
Attempts to get a CorrelationCallbackMessageProperty from the specified message's Properties. |
TryGet(MessageProperties, CorrelationCallbackMessageProperty) |
Attempts to get a CorrelationCallbackMessageProperty from the specified message properties. |
TryGet(Message, CorrelationCallbackMessageProperty)
Attempts to get a CorrelationCallbackMessageProperty from the specified message's Properties.
public:
static bool TryGet(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Channels::CorrelationCallbackMessageProperty ^ % property);
public static bool TryGet (System.ServiceModel.Channels.Message message, out System.ServiceModel.Channels.CorrelationCallbackMessageProperty property);
static member TryGet : System.ServiceModel.Channels.Message * CorrelationCallbackMessageProperty -> bool
Public Shared Function TryGet (message As Message, ByRef property As CorrelationCallbackMessageProperty) As Boolean
Parameters
- message
- Message
The message that contains the Properties to inspect.
- property
- CorrelationCallbackMessageProperty
When this method returns, contains the CorrelationCallbackMessageProperty contained in the specified message's Properties; otherwise, null
. This parameter is passed uninitialized.
Returns
true
if the message's Properties contain a CorrelationCallbackMessageProperty; otherwise, false
.
Applies to
TryGet(MessageProperties, CorrelationCallbackMessageProperty)
Attempts to get a CorrelationCallbackMessageProperty from the specified message properties.
public:
static bool TryGet(System::ServiceModel::Channels::MessageProperties ^ properties, [Runtime::InteropServices::Out] System::ServiceModel::Channels::CorrelationCallbackMessageProperty ^ % property);
public static bool TryGet (System.ServiceModel.Channels.MessageProperties properties, out System.ServiceModel.Channels.CorrelationCallbackMessageProperty property);
static member TryGet : System.ServiceModel.Channels.MessageProperties * CorrelationCallbackMessageProperty -> bool
Public Shared Function TryGet (properties As MessageProperties, ByRef property As CorrelationCallbackMessageProperty) As Boolean
Parameters
- properties
- MessageProperties
The message properties to inspect.
- property
- CorrelationCallbackMessageProperty
When this method returns, contains the CorrelationCallbackMessageProperty contained in the specified message properties; otherwise, null
. This parameter is passed uninitialized.
Returns
true
if the message properties contain a CorrelationCallbackMessageProperty; otherwise, false
.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기