# IRequest Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.irequest/)

## AddInvokeMethodOptions(InvokeMethodOptions) {#addinvokemethodoptions-orleans-codegeneration-invokemethodoptions-7a853f0c}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.irequest/methods/addinvokemethodoptions-orleans-codegeneration-invokemethodoptions-7a853f0c/)

```csharp
public abstract void AddInvokeMethodOptions(InvokeMethodOptions options)
```

Incorporates the provided invocation options.

### Parameters

- `options` (`InvokeMethodOptions`): The options.

## ToMethodCallString(IRequest) {#tomethodcallstring-orleans-runtime-irequest-d1a81b88}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.irequest/methods/tomethodcallstring-orleans-runtime-irequest-d1a81b88/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Runtime/GrainReference.cs#L513-L530)

```csharp
public static string ToMethodCallString(IRequest request)
```

Returns a string representation of the request.

### Parameters

- `request` (`IRequest`)

### Returns

A string representation of the request.

## ToString(IRequest) {#tostring-orleans-runtime-irequest-86fbea41}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.core.abstractions/orleans.runtime.irequest/methods/tostring-orleans-runtime-irequest-86fbea41/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Core.Abstractions/Runtime/GrainReference.cs#L461-L504)

```csharp
public static string ToString(IRequest request)
```

Returns a string representation of the request.

### Parameters

- `request` (`IRequest`)

### Returns

A string representation of the request.
