PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Correlation Namespace / ICorrelation­Request­Adapter Interface / ICorrelation­Request­Adapter Methods / ICorrelation­Request­Adapter.​Get­Remote­Port Method

ICorrelationRequestAdapter.GetRemotePort Method

Gets the remote port, or -1 if it's the default port.

Namespace:  PostSharp.Patterns.Diagnostics.Correlation
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
int GetRemotePort(
	Object request
)

Parameters

request
Type: System.Object

Return Value

Type: Int32
See Also