言語

NetworkInterfaceMessageProperty.TryGet メソッド

定義

指定したメッセージまたはメッセージ プロパティのコレクションから NetworkInterfaceMessageProperty を取得しようとします。

オーバーロード

名前 説明
TryGet(Message, NetworkInterfaceMessageProperty)

指定したメッセージのプロパティから NetworkInterfaceMessageProperty を取得しようとします。

TryGet(MessageProperties, NetworkInterfaceMessageProperty)

指定したメッセージ プロパティのコレクションから NetworkInterfaceMessageProperty を取得しようとします。

TryGet(Message, NetworkInterfaceMessageProperty)

指定したメッセージのプロパティから NetworkInterfaceMessageProperty を取得しようとします。

public:
 static bool TryGet(System::ServiceModel::Channels::Message ^ message, [Runtime::InteropServices::Out] System::ServiceModel::Channels::NetworkInterfaceMessageProperty ^ % property);
public static bool TryGet(System.ServiceModel.Channels.Message message, out System.ServiceModel.Channels.NetworkInterfaceMessageProperty property);
static member TryGet : System.ServiceModel.Channels.Message * NetworkInterfaceMessageProperty -> bool
Public Shared Function TryGet (message As Message, ByRef property As NetworkInterfaceMessageProperty) As Boolean

パラメーター

message
Message

ネットワーク インターフェイス メッセージのプロパティを取得するメッセージ。

property
NetworkInterfaceMessageProperty

このメソッドは true を返します。networkInterfaceMessageProperty には、メッセージに関連付けられている NetworkInterfaceMessageProperty が含まれています。

返品

true NetworkInterfaceMessageproperty の値がメッセージから取得された場合。それ以外の場合は false

適用対象

TryGet(MessageProperties, NetworkInterfaceMessageProperty)

指定したメッセージ プロパティのコレクションから NetworkInterfaceMessageProperty を取得しようとします。

public:
 static bool TryGet(System::ServiceModel::Channels::MessageProperties ^ properties, [Runtime::InteropServices::Out] System::ServiceModel::Channels::NetworkInterfaceMessageProperty ^ % property);
public static bool TryGet(System.ServiceModel.Channels.MessageProperties properties, out System.ServiceModel.Channels.NetworkInterfaceMessageProperty property);
static member TryGet : System.ServiceModel.Channels.MessageProperties * NetworkInterfaceMessageProperty -> bool
Public Shared Function TryGet (properties As MessageProperties, ByRef property As NetworkInterfaceMessageProperty) As Boolean

パラメーター

properties
MessageProperties

ネットワーク インターフェイスのメッセージ プロパティの取得元となる MessageProperties。

property
NetworkInterfaceMessageProperty

このメソッドは true を返します。networkInterfaceMessageProperty には、プロパティに関連付けられている NetworkInterfaceMessageProperty が含まれています。

返品

true NetworkInterfaceMessageProperty の値がプロパティから取得された場合。それ以外の場合は false

適用対象