Operation.IsBoundBy Method
.NET Framework 2.0
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)
Assembly: System.Web.Services (in system.web.services.dll)
public boolean IsBoundBy ( OperationBinding operationBinding )
public function IsBoundBy ( operationBinding : OperationBinding ) : boolean
Not applicable.
Parameters
- operationBinding
An OperationBinding to be checked to determine whether it matches with the Operation.
Return Value
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 ) );
Operation myPostOperation = new Operation();
myPostOperation.set_Name(myOperationBinding.get_Name());
Console.WriteLine("'Operation' instance uses 'OperationBinding': "
+ (System.Boolean)myPostOperation.IsBoundBy(myOperationBinding));
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: