# DurableCallback Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablecallback/)

## DurableCallback(DurableCallbackProtocol, GrainId, string, Uri, IReadOnlyDictionary&lt;string, string&gt;, string?) {#constructor-orleans-durable-http-durablecallbackprotocol-orleans-runtime-grainid-7a2032d1}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.durable.http/orleans.durable.http.durablecallback/constructors/constructor-orleans-durable-http-durablecallbackprotocol-orleans-runtime-grainid-7a2032d1/)

[Source](https://github.com/dotnet/orleans/blob/4e887e9c914a2f2647fb3c81de963511521dd9cb/src/Orleans.Durable.Http/DurableCallbacks.cs#L51-L57)

```csharp
public DurableCallback(DurableCallbackProtocol Protocol, GrainId OperationHost, string OperationId, Uri Url, IReadOnlyDictionary<string, string> Headers, string? OperationLocation)
```

Describes a callback which delivers an operation's outcome to a caller's URL.

### Parameters

- `Protocol` (`DurableCallbackProtocol`): The protocol of the callback's request.
- `OperationHost` (`GrainId`): The grain which hosts the operation.
- `OperationId` (`string`): The identifier by which the caller knows the operation: its operation identifier or Nexus token.
- `Url` (`Uri`): The URL which receives the callback.
- `Headers` (`IReadOnlyDictionary<string, string>`): The headers which the caller asked each delivery to carry, by lowercase name. Their values can be credentials, so each value is protected with ASP.NET Core Data Protection, and deliveries unprotect it.
- `OperationLocation` (`string?`): The URL of the operation's status monitor, for webhooks.
