다음을 통해 공유


ScopedMessagePartSpecification.TryGetParts 메서드

정의

제공된 동작 키와 일치하는 부분이 있는지 여부를 확인합니다.

오버로드

TryGetParts(String, MessagePartSpecification)

제공된 동작 키와 일치하는 부분이 있는지 여부를 확인합니다.

TryGetParts(String, Boolean, MessagePartSpecification)

제공된 동작 키와 일치하는 부분이 있는지 여부를 확인합니다.

TryGetParts(String, MessagePartSpecification)

제공된 동작 키와 일치하는 부분이 있는지 여부를 확인합니다.

public:
 bool TryGetParts(System::String ^ action, [Runtime::InteropServices::Out] System::ServiceModel::Security::MessagePartSpecification ^ % parts);
public bool TryGetParts (string action, out System.ServiceModel.Security.MessagePartSpecification parts);
member this.TryGetParts : string * MessagePartSpecification -> bool
Public Function TryGetParts (action As String, ByRef parts As MessagePartSpecification) As Boolean

매개 변수

action
String

동작 키입니다.

parts
MessagePartSpecification

이 메서드는 반환될 때 찾은 부분이 포함된 MessagePartSpecification을 포함합니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반환

Boolean

일치하는 부분을 찾은 경우 true이고, 그렇지 않으면 false입니다.

설명

제공된 동작이 ScopedMessagePartSpecification에 없으면 와일드카드 동작("*")을 위해 구성된 메시지 부분이 반환됩니다.

적용 대상

TryGetParts(String, Boolean, MessagePartSpecification)

제공된 동작 키와 일치하는 부분이 있는지 여부를 확인합니다.

public:
 bool TryGetParts(System::String ^ action, bool excludeChannelScope, [Runtime::InteropServices::Out] System::ServiceModel::Security::MessagePartSpecification ^ % parts);
public bool TryGetParts (string action, bool excludeChannelScope, out System.ServiceModel.Security.MessagePartSpecification parts);
member this.TryGetParts : string * bool * MessagePartSpecification -> bool
Public Function TryGetParts (action As String, excludeChannelScope As Boolean, ByRef parts As MessagePartSpecification) As Boolean

매개 변수

action
String

동작 키입니다.

excludeChannelScope
Boolean

true일 경우 부분을 현재 채널로 제한합니다.

parts
MessagePartSpecification

이 메서드는 반환될 때 찾은 부분이 포함된 MessagePartSpecification을 포함합니다. 이 매개 변수는 초기화되지 않은 상태로 전달됩니다.

반환

Boolean

일치하는 부분을 찾은 경우 true이고, 그렇지 않으면 false입니다.

설명

제공된 동작이 ScopedMessagePartSpecification에 없으면 와일드카드 동작("*")을 위해 구성된 메시지 부분이 반환됩니다.

적용 대상