Edit

Share via


GraphExtensions.GetExtension(GraphServiceClient, String, String) Method

Definition

Retrieve an extension object for a user.

public static System.Threading.Tasks.Task<Microsoft.Graph.Extension> GetExtension(this Microsoft.Graph.GraphServiceClient graph, string userId, string extensionId);
static member GetExtension : Microsoft.Graph.GraphServiceClient * string * string -> System.Threading.Tasks.Task<Microsoft.Graph.Extension>
<Extension()>
Public Function GetExtension (graph As GraphServiceClient, userId As String, extensionId As String) As Task(Of Extension)

Parameters

graph
Microsoft.Graph.GraphServiceClient

Instance of the Microsoft.Graph.GraphServiceClient.

userId
String

The user to access.

extensionId
String

The extension to retrieve.

Returns

Task<Microsoft.Graph.Extension>

The extension result.

Applies to