NWConnection.GetProtocolMetadata 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
| Name | Description |
|---|---|
| GetProtocolMetadata(NWProtocolDefinition) | |
| GetProtocolMetadata<T>(NWProtocolDefinition) |
GetProtocolMetadata(NWProtocolDefinition)
public Network.NWProtocolMetadata? GetProtocolMetadata(Network.NWProtocolDefinition definition);
member this.GetProtocolMetadata : Network.NWProtocolDefinition -> Network.NWProtocolMetadata
Parameters
- definition
- NWProtocolDefinition
Returns
Applies to
GetProtocolMetadata<T>(NWProtocolDefinition)
public T? GetProtocolMetadata<T>(Network.NWProtocolDefinition definition) where T : Network.NWProtocolMetadata;
member this.GetProtocolMetadata : Network.NWProtocolDefinition -> 'T (requires 'T :> Network.NWProtocolMetadata)
Type Parameters
- T
Parameters
- definition
- NWProtocolDefinition
Returns
T