Operation::IsBoundBy Method (OperationBinding^)

 

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

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public:
bool IsBoundBy(
	OperationBinding^ operationBinding
)

Parameters

operationBinding
Type: System.Web.Services.Description::OperationBinding^

An OperationBinding to be checked to determine whether it matches with the Operation.

Return Value

Type: System::Boolean

true if the Operation instance matches the operationBinding parameter; otherwise, false.

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 ) );

.NET Framework
Available since 1.1
Return to top
Show: