Operation.IsBoundBy(OperationBinding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether the specified OperationBinding matches with the Operation.
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
Parameters
- operationBinding
- OperationBinding
An OperationBinding to be checked to determine whether it matches with the Operation.
Returns
true
if the Operation instance matches the operationBinding
parameter; otherwise, false
.
Examples
The following example demonstrates a typical use of the IsBoundBy method.
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())
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.