ImpersonateOnSerializingReplyMessageProperty.TryGet Método
Definição
Obtém a propriedade ImpersonateOnSerializingReplyMessageProperty da mensagem especificada ou das propriedades da mensagem.Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified message or message properties.
Sobrecargas
| TryGet(Message, ImpersonateOnSerializingReplyMessageProperty) |
Obtém a propriedade ImpersonateOnSerializingReplyMessageProperty da mensagem especificada.Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified message. |
| TryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty) |
Obtém a propriedade ImpersonateOnSerializingReplyMessageProperty do objeto MessageProperties especificado.Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified MessageProperties object. |
TryGet(Message, ImpersonateOnSerializingReplyMessageProperty)
Obtém a propriedade ImpersonateOnSerializingReplyMessageProperty da mensagem especificada.Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified message.
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
Parâmetros
- message
- Message
A mensagem da qual extrair a propriedade.The message from which to extract the property.
Quando este método é retornado, contém a propriedade ImpersonateOnSerializingReplyMessageProperty extraída da mensagem.When this method returns, contains the ImpersonateOnSerializingReplyMessageProperty property extracted from the message.
Retornos
true se a propriedade for encontrada; caso contrário, false.true if the property was found; otherwise, false.
Aplica-se a
TryGet(MessageProperties, ImpersonateOnSerializingReplyMessageProperty)
Obtém a propriedade ImpersonateOnSerializingReplyMessageProperty do objeto MessageProperties especificado.Gets the ImpersonateOnSerializingReplyMessageProperty property from the specified MessageProperties object.
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
Parâmetros
- properties
- MessageProperties
O objeto de propriedades de mensagem do qual extrair a propriedade.The message properties object from which to extract the property.
Quando este método é retornado, contém a propriedade ImpersonateOnSerializingReplyMessageProperty extraída da mensagem.When this method returns, contains the ImpersonateOnSerializingReplyMessageProperty property extracted from the message.
Retornos
true se a propriedade for encontrada; caso contrário, false.true if the property was found; otherwise, false.