ClientWebSocketChannelConfig.SetOption Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetOption(ChannelOption, Object) |
Set a channel option. |
SetOption<T>(ChannelOption<T>, T) |
Set a channel option. |
SetOption(ChannelOption, Object)
Set a channel option.
public bool SetOption (DotNetty.Transport.Channels.ChannelOption option, object value);
abstract member SetOption : DotNetty.Transport.Channels.ChannelOption * obj -> bool
override this.SetOption : DotNetty.Transport.Channels.ChannelOption * obj -> bool
Public Function SetOption (option As ChannelOption, value As Object) As Boolean
Parameters
- option
- DotNetty.Transport.Channels.ChannelOption
The option to set.
- value
- Object
The option value.
Returns
Implements
DotNetty.Transport.Channels.IChannelConfiguration.SetOption(DotNetty.Transport.Channels.ChannelOption,System.Object)
Applies to
SetOption<T>(ChannelOption<T>, T)
Set a channel option.
public bool SetOption<T> (DotNetty.Transport.Channels.ChannelOption<T> option, T value);
abstract member SetOption : DotNetty.Transport.Channels.ChannelOption<'T> * 'T -> bool
override this.SetOption : DotNetty.Transport.Channels.ChannelOption<'T> * 'T -> bool
Public Function SetOption(Of T) (option As ChannelOption(Of T), value As T) As Boolean
Type Parameters
- T
Parameters
- option
- DotNetty.Transport.Channels.ChannelOption<T>
The option to set.
- value
- T
The option value.
Returns
Implements
DotNetty.Transport.Channels.IChannelConfiguration.SetOption``1(DotNetty.Transport.Channels.ChannelOption{``0},``0)
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET