ApplicationManifest.SetDebugOutput

The SetDebugOutput method indicates whether the compiled application should be displayed when ApplicationManifest.Compile is called.

Syntax

[C#]

  Copy imageCopy Code
public void SetDebugOutput(
  Boolean debugOutput
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Sub SetDebugOutput( _
  ByVal debugOutput As Boolean _
)

Parameters

debugOutput

Indicates whether debug output should be generated and displayed when Compile is called. If true, the compiled code will be displayed; if false, it will be suppressed.

Return Values

This method has no return values.

Remarks

This method should be called on a newly created ApplicationManifest object before Compile is called.

Example Code

The following example sets the ApplicationManifest compiler to output the compiled message filter code for debug purposes.

  Copy imageCopy Code
ApplicationManifest myAppManifest = ApplicationManifest.CreateFromFile("C:\xml\my_app_manifest.xml");
myAppManifest.SetDebugOutput(true);
myAppManifest.ScriptOnly = true;

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also