Orbital.ContactProfilesListBySubscription Method

Definition

Overloads

ContactProfilesListBySubscription(String, String, Func<HttpResponseMessage, Task<IContactProfileListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns list of contact profiles by Subscription.

public System.Threading.Tasks.Task ContactProfilesListBySubscription(string subscriptionId, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileListResult>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api30.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync sender);
member this.ContactProfilesListBySubscription : string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api20221101.IContactProfileListResult>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.Api30.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ContactProfilesListBySubscription (subscriptionId As String, Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IContactProfileListResult), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

subscriptionId
String

The ID of the target subscription.

Skiptoken
String

An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

onOk
Func<HttpResponseMessage,Task<IContactProfileListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<IErrorResponse>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to

ContactProfilesListBySubscription(String, String, Func<HttpResponseMessage, Task<IContactProfileListResult>,Task>, Func<HttpResponseMessage, Task<IErrorResponse>,Task>, IEventListener, ISendAsync)

Returns list of contact profiles by Subscription.

public System.Threading.Tasks.Task ContactProfilesListBySubscription(string subscriptionId, string Skiptoken, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileListResult>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync sender);
member this.ContactProfilesListBySubscription : string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IContactProfileListResult>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Orbital.Models.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function ContactProfilesListBySubscription (subscriptionId As String, Skiptoken As String, onOk As Func(Of HttpResponseMessage, Task(Of IContactProfileListResult), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task

Parameters

subscriptionId
String

The ID of the target subscription.

Skiptoken
String

An opaque string that the resource provider uses to skip over previously-returned results. This is used when a previous list operation call returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.

onOk
Func<HttpResponseMessage,Task<IContactProfileListResult>,Task>

a delegate that is called when the remote service returns 200 (OK).

onDefault
Func<HttpResponseMessage,Task<IErrorResponse>,Task>

a delegate that is called when the remote service returns default (any response code not handled elsewhere).

eventListener
IEventListener

an IEventListener instance that will receive events.

sender
ISendAsync

an instance of an Microsoft.Azure.PowerShell.Cmdlets.Orbital.Runtime.ISendAsync pipeline to use to make the request.

Returns

A Task that will be complete when handling of the response is completed.

Applies to