forked from dotnet/dotnet-api-docs
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathServerOptionsSelectionCallback.xml
More file actions
40 lines (38 loc) · 2.83 KB
/
ServerOptionsSelectionCallback.xml
File metadata and controls
40 lines (38 loc) · 2.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<Type Name="ServerOptionsSelectionCallback" FullName="System.Net.Security.ServerOptionsSelectionCallback">
<TypeSignature Language="C#" Value="public delegate System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions>? ServerOptionsSelectionCallback(SslStream stream, SslClientHelloInfo clientHelloInfo, object? state, CancellationToken cancellationToken);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed ServerOptionsSelectionCallback extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Net.Security.ServerOptionsSelectionCallback" />
<TypeSignature Language="VB.NET" Value="Public Delegate Function ServerOptionsSelectionCallback(stream As SslStream, clientHelloInfo As SslClientHelloInfo, state As Object, cancellationToken As CancellationToken) As ValueTask(Of SslServerAuthenticationOptions) " />
<TypeSignature Language="C++ CLI" Value="public delegate System::Threading::Tasks::ValueTask<System::Net::Security::SslServerAuthenticationOptions ^> ServerOptionsSelectionCallback(SslStream ^ stream, SslClientHelloInfo clientHelloInfo, System::Object ^ state, CancellationToken cancellationToken);" />
<TypeSignature Language="F#" Value="type ServerOptionsSelectionCallback = delegate of SslStream * SslClientHelloInfo * obj * CancellationToken -> ValueTask<SslServerAuthenticationOptions>" />
<AssemblyInfo>
<AssemblyName>System.Net.Security</AssemblyName>
<AssemblyVersion>5.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="stream" Type="System.Net.Security.SslStream" />
<Parameter Name="clientHelloInfo" Type="System.Net.Security.SslClientHelloInfo" />
<Parameter Name="state" Type="System.Object" />
<Parameter Name="cancellationToken" Type="System.Threading.CancellationToken" />
</Parameters>
<ReturnValue>
<ReturnType>System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions></ReturnType>
</ReturnValue>
<Docs>
<param name="stream">The TLS stream on which the authentication happens.</param>
<param name="clientHelloInfo">Information from the Client Hello message.</param>
<param name="state">The information that was passed when registering the callback.</param>
<param name="cancellationToken">The token to monitor for cancellation requests.</param>
<summary>Represents the asynchronous callback method that will select session properties based on the name requested by the client.</summary>
<returns>A server authentication property bag.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This delegate provides authentication properties during the server authenticaton as an asynchronous operation.
]]></format>
</remarks>
</Docs>
</Type>