JsonRpcMethodAttribute.ClientRequiresNamedArguments Property
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.
Gets or sets a value indicating whether JSON-RPC named arguments should be used in callbacks sent back to the client.
public bool ClientRequiresNamedArguments { get; set; }
member this.ClientRequiresNamedArguments : bool with get, set
Public Property ClientRequiresNamedArguments As Boolean
Property Value
The default value is false.
Remarks
An example of impact of this setting is when the client sends an IProgress<T> argument and this server will call Report(T) on that argument. The notification that the server then sends back to the client may use positional or named arguments in that notification. Named arguments are used if and only if this property is set to true.