4

呼び出されたメソッドは、発信元IPアドレスなどのバインディングレベルの情報にアクセスできますか?

4

1 に答える 1

5

このスニペットを使用できるはずです。

((RemoteEndpointMessageProperty)OperationContext.Current.IncomingMessageProperties[RemoteEndpointMessageProperty.Name]).Address;
于 2010-02-02T21:31:22.587 に答える