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