Member Junction
    Preparing search index...

    Interface RemoteOpInvokeOptions

    Options controlling how a Remote Operation is invoked. All fields are optional; the defaults produce a simple request/response call on the active provider.

    interface RemoteOpInvokeOptions {
        contractFingerprint?: string;
        mode?: RemoteOpInvokeMode;
        onProgress?: (progress: RemoteOpProgress) => void;
        provider?: IMetadataProvider;
        user?: UserInfo;
    }
    Index

    Properties

    contractFingerprint?: string

    Optional contract fingerprint carried in the wire envelope so the server can reject a stale client loudly instead of mis-deserializing. Usually derived from the operation definition.

    For LongRunning operations, how the caller wants to consume the run (default attached).

    onProgress?: (progress: RemoteOpProgress) => void

    Callback receiving streaming RemoteOpProgress updates when invoked attached.

    Explicit provider to route through. When omitted, the active default provider is used. The resolved provider also implements IRemoteOperationProvider (it is a ProviderBase).

    user?: UserInfo

    Server-side acting user. Supplied on the server; ignored on the client (set per session).