Compartilhar via


IDirectoryObjectsOperations.GetDirectoryObjectWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject>> GetDirectoryObjectWithHttpMessagesAsync (string directoryObjectId, string consistencyLevel = default, System.Collections.Generic.IList<string> select = default, System.Collections.Generic.IList<string> expand = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDirectoryObjectWithHttpMessagesAsync : string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.DirectoryObjects.Models.MicrosoftGraphDirectoryObject>>
Public Function GetDirectoryObjectWithHttpMessagesAsync (directoryObjectId As String, Optional consistencyLevel As String = Nothing, Optional select As IList(Of String) = Nothing, Optional expand As IList(Of String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of MicrosoftGraphDirectoryObject))

Parameters

directoryObjectId
String
consistencyLevel
String
select
IList<String>
expand
IList<String>
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to