CorrelationCallbackMessageProperty.TryGet Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Probeert de bijlage CorrelationCallbackMessageProperty op te halen uit een bericht of een verzameling berichteigenschappen.
Overloads
| Name | Description |
|---|---|
| TryGet(Message, CorrelationCallbackMessageProperty) |
Probeert een van CorrelationCallbackMessageProperty de opgegeven berichten Propertiesop te halen. |
| TryGet(MessageProperties, CorrelationCallbackMessageProperty) |
Probeert een van CorrelationCallbackMessageProperty de opgegeven berichteigenschappen op te halen. |
TryGet(Message, CorrelationCallbackMessageProperty)
Probeert een van CorrelationCallbackMessageProperty de opgegeven berichten Propertiesop te halen.
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
Het bericht dat het Properties te inspecteren bevat.
- property
- CorrelationCallbackMessageProperty
Wanneer deze methode wordt geretourneerd, bevat deze de CorrelationCallbackMessageProperty inhoud van het opgegeven berichtProperties; anders. null Deze parameter wordt niet-geïnitialiseerd doorgegeven.
Retouren
trueals het bericht Properties een CorrelationCallbackMessageProperty; anders bevat. false
Van toepassing op
TryGet(MessageProperties, CorrelationCallbackMessageProperty)
Probeert een van CorrelationCallbackMessageProperty de opgegeven berichteigenschappen op te halen.
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
De berichteigenschappen die moeten worden gecontroleerd.
- property
- CorrelationCallbackMessageProperty
Wanneer deze methode wordt geretourneerd, bevat de CorrelationCallbackMessageProperty inhoud van de opgegeven berichteigenschappen; anders null. Deze parameter wordt niet-geïnitialiseerd doorgegeven.
Retouren
true als de berichteigenschappen een CorrelationCallbackMessageProperty; anders bevatten false.