This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.IIS.
Summary
Specifies the port number of the binding.
- Assembly
- Cake
.IIS .dll - Namespace
- Cake
.IIS - Containing Type
- BindingExtensions
Syntax
public static BindingSettings SetPort(this BindingSettings binding, int port)
Parameters
Name | Type | Description |
---|---|---|
binding | BindingSettings | The binding. |
port | int | The port number. |
Return Value
Type | Description |
---|---|
BindingSettings | The same BindingSettings instance so that multiple calls can be chained. |