다음을 통해 공유


CorrelationDataMessageProperty.TryGet 메서드

정의

메시지 또는 메시지 속성 컬렉션에서 연결된 CorrelationDataMessageProperty를 가져오려고 시도합니다.

오버로드

TryGet(Message, CorrelationDataMessageProperty)

지정된 메시지의 Properties에서 CorrelationDataMessageProperty를 가져오려고 시도합니다.

TryGet(MessageProperties, CorrelationDataMessageProperty)

지정된 메시지의 속성에서 CorrelationDataMessageProperty를 가져오려고 합니다.

TryGet(Message, CorrelationDataMessageProperty)

지정된 메시지의 Properties에서 CorrelationDataMessageProperty를 가져오려고 시도합니다.

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

매개 변수

message
Message

검사할 Properties가 들어 있는 메시지입니다.

property
CorrelationDataMessageProperty

이 메서드가 반환될 때 지정된 메시지의 Properties에 들어있는 CorrelationDataMessageProperty를 포함합니다. 그렇지 않으면 null입니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반환

Boolean

메시지의 Properties 속성에 CorrelationDataMessageProperty 클래스가 포함되면 true이고, 그렇지 않으면 false입니다.

적용 대상

TryGet(MessageProperties, CorrelationDataMessageProperty)

지정된 메시지의 속성에서 CorrelationDataMessageProperty를 가져오려고 합니다.

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

매개 변수

properties
MessageProperties

검사할 메시지 속성입니다.

property
CorrelationDataMessageProperty

이 메서드가 반환될 때 지정된 메시지 속성에 들어 있는 CorrelationDataMessageProperty를 포함합니다. 그렇지 않으면 null입니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반환

Boolean

메시지 속성에 CorrelationDataMessageProperty가 포함되면 true이고, 그렇지 않으면 false입니다.

적용 대상