Share via


JsonRpcTargetOptions.AllowNonPublicInvocation Property

Definition

Gets or sets a value indicating whether non-public methods/events on target objects can be invoked by remote clients.

public bool AllowNonPublicInvocation { get; set; }
member this.AllowNonPublicInvocation : bool with get, set
Public Property AllowNonPublicInvocation As Boolean

Property Value

The default value is false.

Remarks

The default for this property was true in the 1.x versions.

Applies to