GraphExtensions.CreateExtension(GraphServiceClient, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new extension object on a user.
public static System.Threading.Tasks.Task<Microsoft.Graph.Extension> CreateExtension(this Microsoft.Graph.GraphServiceClient graph, string userId, string extensionId);
static member CreateExtension : Microsoft.Graph.GraphServiceClient * string * string -> System.Threading.Tasks.Task<Microsoft.Graph.Extension>
<Extension()>
Public Function CreateExtension (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 id of the new extension.
Returns
The newly created extension.