CSharpTest.Net
VerboseLogging Property
See Also  Example Send Feedback Download Help File
CSharpTest.Net.RpcLibrary Assembly > CSharpTest.Net.RpcLibrary Namespace > RpcServerApi Class : VerboseLogging Property

Glossary Item Box

Enables verbose logging of the RPC calls to the Trace window

Syntax

Visual Basic (Declaration) 
Public Shared Property VerboseLogging As Boolean
C# 
public static bool VerboseLogging {get; set;}

Example

RpcLibrary/RpcLibrary.Test/TestServerApi.cs

C#Copy Code
RpcServerApi.VerboseLogging = true;
Assert.IsTrue(RpcServerApi.VerboseLogging);

RpcServerApi.VerboseLogging = false;
Assert.IsFalse(RpcServerApi.VerboseLogging);
VB.NETCopy Code
RpcServerApi.VerboseLogging = True
Assert.IsTrue(RpcServerApi.VerboseLogging)

RpcServerApi.VerboseLogging = False
Assert.IsFalse(RpcServerApi.VerboseLogging)

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys