Table of Contents

Struct ServiceActivationOptions

Namespace
Nerdbank.JsonRpc.BrokeredServices
Assembly
Nerdbank.JsonRpc.dll

Describes one service activation. This data does not authenticate or authorize a caller.

public readonly record struct ServiceActivationOptions : IEquatable<ServiceActivationOptions>
Implements
Inherited Members

Properties

ActivationArguments

Gets application-defined activation arguments.

public IReadOnlyDictionary<string, string>? ActivationArguments { get; init; }

Property Value

IReadOnlyDictionary<string, string>

ClientCulture

Gets the culture requested for activation.

public CultureInfo? ClientCulture { get; init; }

Property Value

CultureInfo

ClientRpcTarget

Gets the local callback target. This value is not serialized.

public object? ClientRpcTarget { get; init; }

Property Value

object

ClientUICulture

Gets the UI culture requested for activation.

public CultureInfo? ClientUICulture { get; init; }

Property Value

CultureInfo

ConfigureProxy

Gets a local setup callback invoked before incoming service dispatch starts.

public Action<object>? ConfigureProxy { get; init; }

Property Value

Action<object>

Remarks

Subscribe to service events here to avoid losing early notifications. This callback is not serialized.