 | AddressWithPort Method |
Creates a new
Address with a given
port.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic Address WithPort(
Nullable<int> port = null
)
member WithPort :
?port : Nullable<int>
(* Defaults:
let _port = defaultArg port null
*)
-> Address
Parameters
- port (Optional)
- Type: SystemNullableInt32
The port used to configure the new address.
Return Value
Type:
AddressA new address with the provided
port.
See Also