# Invokable_ITransactionManagerExtension_GrainReference_Ext_12BEFA17 Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/)

## Dispose {#dispose-edf1a3fc}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/dispose-edf1a3fc/)

```csharp
public override void Dispose()
```

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

## GetActivityName {#getactivityname-aa5e146a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getactivityname-aa5e146a/)

```csharp
public override string GetActivityName()
```

Gets the activity name, which refers to both the interface name and method name.

## GetArgument(int) {#getargument-int-d732b31e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getargument-int-d732b31e/)

```csharp
public override object GetArgument(int index)
```

Gets the argument at the specified index.

### Parameters

- `index` (`int`): The argument index.

### Returns

The argument at the specified index.

## GetArgumentCount {#getargumentcount-b00866e8}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getargumentcount-b00866e8/)

```csharp
public override int GetArgumentCount()
```

Gets the number of arguments.

## GetInterfaceName {#getinterfacename-e8cfd52a}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getinterfacename-e8cfd52a/)

```csharp
public override string GetInterfaceName()
```

Gets the full interface name.

## GetInterfaceType {#getinterfacetype-13342444}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getinterfacetype-13342444/)

```csharp
public override Type GetInterfaceType()
```

Gets the interface type.

## GetMethod {#getmethod-ee14e871}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getmethod-ee14e871/)

```csharp
public override MethodInfo GetMethod()
```

Gets the method info object, which may be `null`.

## GetMethodName {#getmethodname-a0508182}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/getmethodname-a0508182/)

```csharp
public override string GetMethodName()
```

Gets the method name.

## GetTarget {#gettarget-98d3ad37}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/gettarget-98d3ad37/)

```csharp
public override object GetTarget()
```

Gets the invocation target.

### Returns

The invocation target.

## SetArgument(int, object) {#setargument-int-object-6a37150d}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/setargument-int-object-6a37150d/)

```csharp
public override void SetArgument(int index, object value)
```

Sets the argument at the specified index.

### Parameters

- `index` (`int`): The argument index.
- `value` (`object`): The argument value

## SetTarget(ITargetHolder) {#settarget-orleans-serialization-invocation-itargetholder-46b7d1aa}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.transactions/orleanscodegen.orleans.transactions.abstractions.invokable-itransactionmanagerextension-grainreference-ext-12befa17/methods/settarget-orleans-serialization-invocation-itargetholder-46b7d1aa/)

```csharp
public override void SetTarget(ITargetHolder holder)
```

Sets the invocation target from an instance of [ITargetHolder](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.invocation.itargetholder/).

### Parameters

- `holder` (`ITargetHolder`): The invocation target.
