Turn off socket protocol debugging output.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function DebuggingOff() As Boolean _
    Implements INetricsServerInterface.DebuggingOff
C#
public bool DebuggingOff()
C++
public:
 bool DebuggingOff() sealed 
J#
public bool DebuggingOff()
JScript
public  function DebuggingOff() : bool

Return Value

the previous debugging state.

Implements

INetricsServerInterface.DebuggingOff

Remarks

Turn off socket protocol debugging output. This should only be used on the advice of TIBCO support.

Example

This sample shows how to turn off debugging on the client side.

 Copy Code
             using NetricsServerInterface;  
             class MyClass 
               {
                 private static NetricsServerInterface.NetricsServerInterface si = null;     
                 public static void Main() 
                  {
                    try
                    {
                        String host = "localhost";
                        int port = 5051;
                        si = new NetricsServerInterface.NetricsServerInterface(host, port);
                        si.DebuggingOff();
                        Console.Write("Client debugging turned off.\n");
                    }
                    catch (NetricsException e)
                    {
                        Console.Write(e.getErrorDescription() + "\n");
                    }
                  }
               }
             

See Also