ImpersonateOnSerializingReplyMessageProperty.TryGet Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient la ImpersonateOnSerializingReplyMessageProperty propriété à partir des propriétés de message ou de message spécifiées.
Surcharges
| Nom | Description |
|---|---|
| TryGet(Message, ImpersonateOnSerializingReplyMessageProperty) |
Obtient la ImpersonateOnSerializingReplyMessageProperty propriété du message spécifié. |
| TryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty) |
Obtient la ImpersonateOnSerializingReplyMessageProperty propriété de l’objet spécifié MessageProperties . |
TryGet(Message, ImpersonateOnSerializingReplyMessageProperty)
Obtient la ImpersonateOnSerializingReplyMessageProperty propriété du message spécifié.
public:
static bool TryGet(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Security::ImpersonateOnSerializingReplyMessageProperty ^ % property);
public static bool TryGet(System.ServiceModel.Channels.Message message, out System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty property);
static member TryGet : System.ServiceModel.Channels.Message * ImpersonateOnSerializingReplyMessageProperty -> bool
Public Shared Function TryGet (message As Message, ByRef property As ImpersonateOnSerializingReplyMessageProperty) As Boolean
Paramètres
- message
- Message
Message à partir duquel extraire la propriété.
Lorsque cette méthode est retournée, contient la ImpersonateOnSerializingReplyMessageProperty propriété extraite du message.
Retours
true si la ImpersonateOnSerializingReplyMessageProperty propriété a été trouvée ; sinon, false.
S’applique à
TryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty)
Obtient la ImpersonateOnSerializingReplyMessageProperty propriété de l’objet spécifié MessageProperties .
public:
static bool TryGet(System::ServiceModel::Channels::MessageProperties ^ properties, [Runtime::InteropServices::Out] System::ServiceModel::Security::ImpersonateOnSerializingReplyMessageProperty ^ % property);
public static bool TryGet(System.ServiceModel.Channels.MessageProperties properties, out System.ServiceModel.Security.ImpersonateOnSerializingReplyMessageProperty property);
static member TryGet : System.ServiceModel.Channels.MessageProperties * ImpersonateOnSerializingReplyMessageProperty -> bool
Public Shared Function TryGet (properties As MessageProperties, ByRef property As ImpersonateOnSerializingReplyMessageProperty) As Boolean
Paramètres
- properties
- MessageProperties
Objet de propriétés de message à partir duquel extraire la propriété.
Lorsque cette méthode est retournée, contient la ImpersonateOnSerializingReplyMessageProperty propriété extraite du message.
Retours
true si la ImpersonateOnSerializingReplyMessageProperty propriété a été trouvée ; sinon, false.