15 references to InvalidHandle
Aspire.Hosting.Native.Server (15)
Rpc\NativeHandles.cs (1)
49throw RpcFault.InvalidHandle("A capability handle is required.");
Rpc\NativeProviderLifecycle.cs (2)
24throw RpcFault.InvalidHandle("An integration object cannot change its original declaration authority."); 60throw RpcFault.InvalidHandle("The lifecycle object or phase authority is unavailable.");
Rpc\NativeProviderRegistry.cs (9)
303throw RpcFault.InvalidHandle("A lifecycle scope cannot combine general declaration authority."); 315throw RpcFault.InvalidHandle("A core call cannot combine different connection authorities."); 332throw RpcFault.InvalidHandle("Provider core calls require delegated connection authority."); 363throw RpcFault.InvalidHandle("Callbacks require a registered provider."); 390var handle = value as JsonObject ?? throw RpcFault.InvalidHandle("A typed handle is required."); 397throw RpcFault.InvalidHandle("The provider resource belongs to another authority."); 425throw RpcFault.InvalidHandle("The returned core handle is not delegated by this caller."); 434throw RpcFault.InvalidHandle("Integration resource lifetime must be delegated by its caller."); 438throw RpcFault.InvalidHandle("Integration resource lifetime must be a native resource declaration.");
Rpc\NativeProviderValueProtocol.cs (2)
28var handle = value as JsonObject ?? throw RpcFault.InvalidHandle("The provider did not return a typed handle."); 38throw RpcFault.InvalidHandle("Integration resource lifetime must be delegated by its caller.");
Rpc\NativeRpcConnection.cs (1)
92throw RpcFault.InvalidHandle("The provider resource lifetime cannot change.");