The protocol that was provided to the constructor
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property Protocol As RpcProtseq |
Example
RpcLibrary/RpcLibrary.Test/TestClientApi.cs
C# | Copy Code |
---|
using (RpcClientApi client = new RpcClientApi(Guid.NewGuid(), RpcProtseq.ncacn_ip_tcp, null, "123"))
Assert.AreEqual(RpcProtseq.ncacn_ip_tcp, client.Protocol); |
VB.NET | Copy Code |
---|
Using client As New RpcClientApi(Guid.NewGuid(), RpcProtseq.ncacn_ip_tcp, Nothing, "123")
Assert.AreEqual(RpcProtseq.ncacn_ip_tcp, client.Protocol)
End Using |
Requirements
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
See Also