다음을 통해 공유


Operation.IsBoundBy(OperationBinding) 메서드

정의

지정한 OperationBindingOperation과 일치하는지 여부를 나타내는 값을 반환합니다.

public:
 bool IsBoundBy(System::Web::Services::Description::OperationBinding ^ operationBinding);
public bool IsBoundBy (System.Web.Services.Description.OperationBinding operationBinding);
member this.IsBoundBy : System.Web.Services.Description.OperationBinding -> bool
Public Function IsBoundBy (operationBinding As OperationBinding) As Boolean

매개 변수

operationBinding
OperationBinding

OperationBinding과 일치하는지 여부를 확인할 Operation입니다.

반환

Operation 인스턴스가 operationBinding 매개 변수와 일치하면 true이고, 그렇지 않으면 false입니다.

예제

다음 예제에서는의 일반적인 용도 IsBoundBy 메서드.

Operation^ myPostOperation = gcnew Operation;
myPostOperation->Name = myOperationBinding->Name;
Console::WriteLine( "'Operation' instance uses 'OperationBinding': {0}",
   myPostOperation->IsBoundBy( myOperationBinding ) );
Operation myPostOperation = new Operation();
myPostOperation.Name = myOperationBinding.Name;
Console.WriteLine("'Operation' instance uses 'OperationBinding': "
   +myPostOperation.IsBoundBy(myOperationBinding));
Dim myPostOperation As New Operation()
myPostOperation.Name = myOperationBinding.Name
Console.WriteLine("'Operation' instance uses 'OperationBinding': " + _
                           myPostOperation.IsBoundBy(myOperationBinding).ToString())

적용 대상