NetworkInterfaceMessageProperty.TryGet 메서드

정의

지정된 메시지 또는 메시지 속성 컬렉션에서 NetworkInterfaceMessageProperty를 가져옵니다.

오버로드

Name Description
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

적용 대상