There are cases when an operation has no returned values and the client does not care about the success or failure of the invocation.
To support this sort of fire-and-forget invocation, WCF offers one-way operations.
It’s simple to implement. We just need to add “IsOneWay” property to ‘true’ to the [OperationContract] property.
[ServiceContract]
interface IWCFContract
{
[OperationContract(IsOneWay = true)]
void HelloWorld()
}
Note : The Operation Contract must have a “void” return type without any outgoing parameters.
Refer this article for more.
🙂


![[Step by Step] Using Custom Connectors in Copilot Studio](https://rajeevpentyala.com/wp-content/uploads/2024/10/record-ezgif.com-video-to-gif-converter-7.gif)
Leave a Reply