Operation.IsBoundBy(OperationBinding) Method

Definition

Returns a value that indicates whether the specified OperationBinding matches with the Operation.

C#
public bool IsBoundBy(System.Web.Services.Description.OperationBinding operationBinding);

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.

C#
Operation myPostOperation = new Operation();
myPostOperation.Name = myOperationBinding.Name;
Console.WriteLine("'Operation' instance uses 'OperationBinding': "
   +myPostOperation.IsBoundBy(myOperationBinding));

Applies to

Produkt Verzie
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)