-
Notifications
You must be signed in to change notification settings - Fork 255
/
WebPubSubServiceClient.xml
2954 lines (2882 loc) · 213 KB
/
WebPubSubServiceClient.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="WebPubSubServiceClient" FullName="Azure.Messaging.WebPubSub.WebPubSubServiceClient">
<TypeSignature Language="C#" Value="public class WebPubSubServiceClient" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit WebPubSubServiceClient extends System.Object" />
<TypeSignature Language="DocId" Value="T:Azure.Messaging.WebPubSub.WebPubSubServiceClient" />
<TypeSignature Language="VB.NET" Value="Public Class WebPubSubServiceClient" />
<TypeSignature Language="F#" Value="type WebPubSubServiceClient = class" />
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<AssemblyVersion>1.2.0.0</AssemblyVersion>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary> The WebPubSubService service client. </summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected WebPubSubServiceClient ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor" />
<MemberSignature Language="VB.NET" Value="Protected Sub New ()" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary> Initializes a new instance of WebPubSubServiceClient for mocking. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPubSubServiceClient (string connectionString, string hub);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string connectionString, string hub) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor(System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (connectionString As String, hub As String)" />
<MemberSignature Language="F#" Value="new Azure.Messaging.WebPubSub.WebPubSubServiceClient : string * string -> Azure.Messaging.WebPubSub.WebPubSubServiceClient" Usage="new Azure.Messaging.WebPubSub.WebPubSubServiceClient (connectionString, hub)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="connectionString" Type="System.String" />
<Parameter Name="hub" Type="System.String" />
</Parameters>
<Docs>
<param name="connectionString">Connection string contains Endpoint and AccessKey.</param>
<param name="hub">Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.</param>
<summary>
Initializes a new instance of the <see cref="T:Azure.Messaging.WebPubSub.WebPubSubServiceClient" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPubSubServiceClient (string connectionString, string hub, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string connectionString, string hub, class Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor(System.String,System.String,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (connectionString As String, hub As String, options As WebPubSubServiceClientOptions)" />
<MemberSignature Language="F#" Value="new Azure.Messaging.WebPubSub.WebPubSubServiceClient : string * string * Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions -> Azure.Messaging.WebPubSub.WebPubSubServiceClient" Usage="new Azure.Messaging.WebPubSub.WebPubSubServiceClient (connectionString, hub, options)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="connectionString" Type="System.String" />
<Parameter Name="hub" Type="System.String" />
<Parameter Name="options" Type="Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions" />
</Parameters>
<Docs>
<param name="connectionString">Connection string contains Endpoint and AccessKey.</param>
<param name="hub">Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore.</param>
<param name="options" />
<summary>
Initializes a new instance of the <see cref="T:Azure.Messaging.WebPubSub.WebPubSubServiceClient" />.
</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPubSubServiceClient (Uri endpoint, string hub, Azure.AzureKeyCredential credential);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Uri endpoint, string hub, class Azure.AzureKeyCredential credential) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor(System.Uri,System.String,Azure.AzureKeyCredential)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (endpoint As Uri, hub As String, credential As AzureKeyCredential)" />
<MemberSignature Language="F#" Value="new Azure.Messaging.WebPubSub.WebPubSubServiceClient : Uri * string * Azure.AzureKeyCredential -> Azure.Messaging.WebPubSub.WebPubSubServiceClient" Usage="new Azure.Messaging.WebPubSub.WebPubSubServiceClient (endpoint, hub, credential)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.Uri" />
<Parameter Name="hub" Type="System.String" />
<Parameter Name="credential" Type="Azure.AzureKeyCredential" />
</Parameters>
<Docs>
<param name="endpoint"> server parameter. </param>
<param name="hub"> Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore. </param>
<param name="credential"> A credential used to authenticate to an Azure Service. </param>
<summary> Initializes a new instance of WebPubSubServiceClient. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPubSubServiceClient (Uri endpoint, string hub, Azure.Core.TokenCredential credential);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Uri endpoint, string hub, class Azure.Core.TokenCredential credential) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor(System.Uri,System.String,Azure.Core.TokenCredential)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (endpoint As Uri, hub As String, credential As TokenCredential)" />
<MemberSignature Language="F#" Value="new Azure.Messaging.WebPubSub.WebPubSubServiceClient : Uri * string * Azure.Core.TokenCredential -> Azure.Messaging.WebPubSub.WebPubSubServiceClient" Usage="new Azure.Messaging.WebPubSub.WebPubSubServiceClient (endpoint, hub, credential)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.Uri" />
<Parameter Name="hub" Type="System.String" />
<Parameter Name="credential" Type="Azure.Core.TokenCredential" />
</Parameters>
<Docs>
<param name="endpoint"> server parameter. </param>
<param name="hub"> Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore. </param>
<param name="credential"> A token credential used to authenticate to an Azure Service. </param>
<summary> Initializes a new instance of WebPubSubServiceClient. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPubSubServiceClient (Uri endpoint, string hub, Azure.AzureKeyCredential credential, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Uri endpoint, string hub, class Azure.AzureKeyCredential credential, class Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor(System.Uri,System.String,Azure.AzureKeyCredential,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (endpoint As Uri, hub As String, credential As AzureKeyCredential, options As WebPubSubServiceClientOptions)" />
<MemberSignature Language="F#" Value="new Azure.Messaging.WebPubSub.WebPubSubServiceClient : Uri * string * Azure.AzureKeyCredential * Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions -> Azure.Messaging.WebPubSub.WebPubSubServiceClient" Usage="new Azure.Messaging.WebPubSub.WebPubSubServiceClient (endpoint, hub, credential, options)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.Uri" />
<Parameter Name="hub" Type="System.String" />
<Parameter Name="credential" Type="Azure.AzureKeyCredential" />
<Parameter Name="options" Type="Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions" />
</Parameters>
<Docs>
<param name="endpoint"> server parameter. </param>
<param name="hub"> Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore. </param>
<param name="credential"> A credential used to authenticate to an Azure Service. </param>
<param name="options"> The options for configuring the client. </param>
<summary> Initializes a new instance of WebPubSubServiceClient. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public WebPubSubServiceClient (Uri endpoint, string hub, Azure.Core.TokenCredential credential, Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions options);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.Uri endpoint, string hub, class Azure.Core.TokenCredential credential, class Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions options) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.#ctor(System.Uri,System.String,Azure.Core.TokenCredential,Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (endpoint As Uri, hub As String, credential As TokenCredential, options As WebPubSubServiceClientOptions)" />
<MemberSignature Language="F#" Value="new Azure.Messaging.WebPubSub.WebPubSubServiceClient : Uri * string * Azure.Core.TokenCredential * Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions -> Azure.Messaging.WebPubSub.WebPubSubServiceClient" Usage="new Azure.Messaging.WebPubSub.WebPubSubServiceClient (endpoint, hub, credential, options)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="endpoint" Type="System.Uri" />
<Parameter Name="hub" Type="System.String" />
<Parameter Name="credential" Type="Azure.Core.TokenCredential" />
<Parameter Name="options" Type="Azure.Messaging.WebPubSub.WebPubSubServiceClientOptions" />
</Parameters>
<Docs>
<param name="endpoint"> server parameter. </param>
<param name="hub"> Target hub name, which should start with alphabetic characters and only contain alpha-numeric characters or underscore. </param>
<param name="credential"> A token credential used to authenticate to an Azure Service. </param>
<param name="options"> The options for configuring the client. </param>
<summary> Initializes a new instance of WebPubSubServiceClient. </summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AddConnectionToGroup">
<MemberSignature Language="C#" Value="public virtual Azure.Response AddConnectionToGroup (string group, string connectionId, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response AddConnectionToGroup(string group, string connectionId, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.AddConnectionToGroup(System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddConnectionToGroup (group As String, connectionId As String, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member AddConnectionToGroup : string * string * Azure.RequestContext -> Azure.Response
override this.AddConnectionToGroup : string * string * Azure.RequestContext -> Azure.Response" Usage="webPubSubServiceClient.AddConnectionToGroup (group, connectionId, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.String" />
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="group"> Target group name, which length should be greater than 0 and less than 1025. </param>
<param name="connectionId"> Target connection Id. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Add a connection to the target group. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="group" /> or <paramref name="connectionId" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="group" /> or <paramref name="connectionId" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call AddConnectionToGroup with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.AddConnectionToGroup("<group>", "<connectionId>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="AddConnectionToGroupAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> AddConnectionToGroupAsync (string group, string connectionId, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> AddConnectionToGroupAsync(string group, string connectionId, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.AddConnectionToGroupAsync(System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddConnectionToGroupAsync (group As String, connectionId As String, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member AddConnectionToGroupAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AddConnectionToGroupAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="webPubSubServiceClient.AddConnectionToGroupAsync (group, connectionId, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.String" />
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="group"> Target group name, which length should be greater than 0 and less than 1025. </param>
<param name="connectionId"> Target connection Id. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Add a connection to the target group. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="group" /> or <paramref name="connectionId" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="group" /> or <paramref name="connectionId" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call AddConnectionToGroupAsync with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.AddConnectionToGroupAsync("<group>", "<connectionId>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="AddUserToGroup">
<MemberSignature Language="C#" Value="public virtual Azure.Response AddUserToGroup (string group, string userId, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response AddUserToGroup(string group, string userId, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.AddUserToGroup(System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddUserToGroup (group As String, userId As String, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member AddUserToGroup : string * string * Azure.RequestContext -> Azure.Response
override this.AddUserToGroup : string * string * Azure.RequestContext -> Azure.Response" Usage="webPubSubServiceClient.AddUserToGroup (group, userId, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.String" />
<Parameter Name="userId" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="userId"> Target user Id. </param>
<param name="group"> Target group name, which length should be greater than 0 and less than 1025. </param>
<param name="context"> The request context, which can override default behaviors on the request on a per-call basis. </param>
<summary> Add a user to the target group. </summary>
<returns>To be added.</returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="userId" /> or <paramref name="group" /> is null. </exception>
</Docs>
</Member>
<Member MemberName="AddUserToGroupAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> AddUserToGroupAsync (string group, string userId, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> AddUserToGroupAsync(string group, string userId, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.AddUserToGroupAsync(System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function AddUserToGroupAsync (group As String, userId As String, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member AddUserToGroupAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.AddUserToGroupAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="webPubSubServiceClient.AddUserToGroupAsync (group, userId, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.String" />
<Parameter Name="userId" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="userId"> Target user Id. </param>
<param name="group"> Target group name, which length should be greater than 0 and less than 1025. </param>
<param name="context"> The request context, which can override default behaviors on the request on a per-call basis. </param>
<summary> Add a user to the target group. </summary>
<returns>To be added.</returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="userId" /> or <paramref name="group" /> is null. </exception>
</Docs>
</Member>
<Member MemberName="CheckPermission">
<MemberSignature Language="C#" Value="public virtual Azure.Response<bool> CheckPermission (Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response`1<bool> CheckPermission(valuetype Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CheckPermission(Azure.Messaging.WebPubSub.WebPubSubPermission,System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CheckPermission (permission As WebPubSubPermission, connectionId As String, Optional targetName As String = Nothing, Optional context As RequestContext = Nothing) As Response(Of Boolean)" />
<MemberSignature Language="F#" Value="abstract member CheckPermission : Azure.Messaging.WebPubSub.WebPubSubPermission * string * string * Azure.RequestContext -> Azure.Response<bool>
override this.CheckPermission : Azure.Messaging.WebPubSub.WebPubSubPermission * string * string * Azure.RequestContext -> Azure.Response<bool>" Usage="webPubSubServiceClient.CheckPermission (permission, connectionId, targetName, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response<System.Boolean></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="Azure.Messaging.WebPubSub.WebPubSubPermission" />
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="targetName" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="permission"> The permission: current supported actions are joinLeaveGroup and sendToGroup. </param>
<param name="connectionId"> Target connection Id. </param>
<param name="targetName"> Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. </param>
<param name="context">Options specifying the cancellation token, controlling error reporting, etc.</param>
<summary> Check if a connection has permission to the specified action. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CheckPermissionAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response<bool>> CheckPermissionAsync (Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response`1<bool>> CheckPermissionAsync(valuetype Azure.Messaging.WebPubSub.WebPubSubPermission permission, string connectionId, string targetName, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CheckPermissionAsync(Azure.Messaging.WebPubSub.WebPubSubPermission,System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CheckPermissionAsync (permission As WebPubSubPermission, connectionId As String, Optional targetName As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response(Of Boolean))" />
<MemberSignature Language="F#" Value="abstract member CheckPermissionAsync : Azure.Messaging.WebPubSub.WebPubSubPermission * string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.CheckPermissionAsync : Azure.Messaging.WebPubSub.WebPubSubPermission * string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response<bool>>" Usage="webPubSubServiceClient.CheckPermissionAsync (permission, connectionId, targetName, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<System.Boolean>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="permission" Type="Azure.Messaging.WebPubSub.WebPubSubPermission" />
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="targetName" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="permission"> The permission: current supported actions are joinLeaveGroup and sendToGroup. </param>
<param name="connectionId"> Target connection Id. </param>
<param name="targetName"> Optional. If not set, get the permission for all targets. If set, get the permission for the specific target. The meaning of the target depends on the specific permission. </param>
<param name="context">Options specifying the cancellation token, controlling error reporting, etc.</param>
<summary> Check if a connection has permission to the specified action. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="CloseAllConnections">
<MemberSignature Language="C#" Value="public virtual Azure.Response CloseAllConnections (System.Collections.Generic.IEnumerable<string> excluded = default, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response CloseAllConnections(class System.Collections.Generic.IEnumerable`1<string> excluded, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseAllConnections(System.Collections.Generic.IEnumerable{System.String},System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseAllConnections (Optional excluded As IEnumerable(Of String) = Nothing, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member CloseAllConnections : seq<string> * string * Azure.RequestContext -> Azure.Response
override this.CloseAllConnections : seq<string> * string * Azure.RequestContext -> Azure.Response" Usage="webPubSubServiceClient.CloseAllConnections (excluded, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="excluded" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="excluded"> Exclude these connectionIds when closing the connections in the hub. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close the connections in the hub. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseAllConnections.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseAllConnections();
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseAllConnections with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseAllConnections(new String[]{"<excluded>"}, "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseAllConnectionsAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> CloseAllConnectionsAsync (System.Collections.Generic.IEnumerable<string> excluded = default, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> CloseAllConnectionsAsync(class System.Collections.Generic.IEnumerable`1<string> excluded, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseAllConnectionsAsync(System.Collections.Generic.IEnumerable{System.String},System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseAllConnectionsAsync (Optional excluded As IEnumerable(Of String) = Nothing, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member CloseAllConnectionsAsync : seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CloseAllConnectionsAsync : seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="webPubSubServiceClient.CloseAllConnectionsAsync (excluded, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="excluded" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="excluded"> Exclude these connectionIds when closing the connections in the hub. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close the connections in the hub. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseAllConnectionsAsync.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseAllConnectionsAsync();
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseAllConnectionsAsync with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseAllConnectionsAsync(new String[]{"<excluded>"}, "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseConnection">
<MemberSignature Language="C#" Value="public virtual Azure.Response CloseConnection (string connectionId, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response CloseConnection(string connectionId, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseConnection(System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseConnection (connectionId As String, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member CloseConnection : string * string * Azure.RequestContext -> Azure.Response
override this.CloseConnection : string * string * Azure.RequestContext -> Azure.Response" Usage="webPubSubServiceClient.CloseConnection (connectionId, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="connectionId"> Target connection Id. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close the client connection. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="connectionId" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="connectionId" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseConnection with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseConnection("<connectionId>");
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseConnection with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseConnection("<connectionId>", "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseConnectionAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> CloseConnectionAsync (string connectionId, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> CloseConnectionAsync(string connectionId, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseConnectionAsync(System.String,System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseConnectionAsync (connectionId As String, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member CloseConnectionAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CloseConnectionAsync : string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="webPubSubServiceClient.CloseConnectionAsync (connectionId, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="connectionId"> Target connection Id. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close the client connection. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="connectionId" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="connectionId" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseConnectionAsync with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseConnectionAsync("<connectionId>");
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseConnectionAsync with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseConnectionAsync("<connectionId>", "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseGroupConnections">
<MemberSignature Language="C#" Value="public virtual Azure.Response CloseGroupConnections (string group, System.Collections.Generic.IEnumerable<string> excluded = default, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response CloseGroupConnections(string group, class System.Collections.Generic.IEnumerable`1<string> excluded, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseGroupConnections(System.String,System.Collections.Generic.IEnumerable{System.String},System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseGroupConnections (group As String, Optional excluded As IEnumerable(Of String) = Nothing, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member CloseGroupConnections : string * seq<string> * string * Azure.RequestContext -> Azure.Response
override this.CloseGroupConnections : string * seq<string> * string * Azure.RequestContext -> Azure.Response" Usage="webPubSubServiceClient.CloseGroupConnections (group, excluded, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.String" />
<Parameter Name="excluded" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="group"> Target group name, which length should be greater than 0 and less than 1025. </param>
<param name="excluded"> Exclude these connectionIds when closing the connections in the group. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close connections in the specific group. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="group" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="group" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseGroupConnections with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseGroupConnections("<group>");
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseGroupConnections with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseGroupConnections("<group>", new String[]{"<excluded>"}, "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseGroupConnectionsAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> CloseGroupConnectionsAsync (string group, System.Collections.Generic.IEnumerable<string> excluded = default, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> CloseGroupConnectionsAsync(string group, class System.Collections.Generic.IEnumerable`1<string> excluded, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseGroupConnectionsAsync(System.String,System.Collections.Generic.IEnumerable{System.String},System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseGroupConnectionsAsync (group As String, Optional excluded As IEnumerable(Of String) = Nothing, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member CloseGroupConnectionsAsync : string * seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CloseGroupConnectionsAsync : string * seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="webPubSubServiceClient.CloseGroupConnectionsAsync (group, excluded, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.String" />
<Parameter Name="excluded" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="group"> Target group name, which length should be greater than 0 and less than 1025. </param>
<param name="excluded"> Exclude these connectionIds when closing the connections in the group. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close connections in the specific group. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="group" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="group" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseGroupConnectionsAsync with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseGroupConnectionsAsync("<group>");
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseGroupConnectionsAsync with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseGroupConnectionsAsync("<group>", new String[]{"<excluded>"}, "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseUserConnections">
<MemberSignature Language="C#" Value="public virtual Azure.Response CloseUserConnections (string userId, System.Collections.Generic.IEnumerable<string> excluded = default, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response CloseUserConnections(string userId, class System.Collections.Generic.IEnumerable`1<string> excluded, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseUserConnections(System.String,System.Collections.Generic.IEnumerable{System.String},System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseUserConnections (userId As String, Optional excluded As IEnumerable(Of String) = Nothing, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Response" />
<MemberSignature Language="F#" Value="abstract member CloseUserConnections : string * seq<string> * string * Azure.RequestContext -> Azure.Response
override this.CloseUserConnections : string * seq<string> * string * Azure.RequestContext -> Azure.Response" Usage="webPubSubServiceClient.CloseUserConnections (userId, excluded, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="userId" Type="System.String" />
<Parameter Name="excluded" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="userId"> The user Id. </param>
<param name="excluded"> Exclude these connectionIds when closing the connections for the user. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close connections for the specific user. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="userId" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="userId" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseUserConnections with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseUserConnections("<userId>");
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseUserConnections with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = client.CloseUserConnections("<userId>", new String[]{"<excluded>"}, "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="CloseUserConnectionsAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response> CloseUserConnectionsAsync (string userId, System.Collections.Generic.IEnumerable<string> excluded = default, string reason = default, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response> CloseUserConnectionsAsync(string userId, class System.Collections.Generic.IEnumerable`1<string> excluded, string reason, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.CloseUserConnectionsAsync(System.String,System.Collections.Generic.IEnumerable{System.String},System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CloseUserConnectionsAsync (userId As String, Optional excluded As IEnumerable(Of String) = Nothing, Optional reason As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Response)" />
<MemberSignature Language="F#" Value="abstract member CloseUserConnectionsAsync : string * seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.CloseUserConnectionsAsync : string * seq<string> * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>" Usage="webPubSubServiceClient.CloseUserConnectionsAsync (userId, excluded, reason, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="userId" Type="System.String" />
<Parameter Name="excluded" Type="System.Collections.Generic.IEnumerable<System.String>" />
<Parameter Name="reason" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="userId"> The user Id. </param>
<param name="excluded"> Exclude these connectionIds when closing the connections for the user. </param>
<param name="reason"> The reason closing the client connection. </param>
<param name="context"> The request context, which can override default behaviors of the client pipeline on a per-call basis. </param>
<summary> Close connections for the specific user. </summary>
<returns> The response returned from the service. </returns>
<remarks>
Schema for <c>Response Error</c>:
<code>{
code: string,
message: string,
target: string,
details: [ErrorDetail],
inner: {
code: string,
inner: InnerError
}
}
</code></remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="userId" /> is null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="userId" /> is an empty string, and was expected to be non-empty. </exception>
<exception cref="T:Azure.RequestFailedException"> Service returned a non-success status code. </exception>
<example>
This sample shows how to call CloseUserConnectionsAsync with required parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseUserConnectionsAsync("<userId>");
Console.WriteLine(response.Status);
]]></code>
This sample shows how to call CloseUserConnectionsAsync with all parameters.
<code><![CDATA[
var client = new WebPubSubServiceClient("<https://my-service.azure.com>", "<hub>");
Response response = await client.CloseUserConnectionsAsync("<userId>", new String[]{"<excluded>"}, "<reason>");
Console.WriteLine(response.Status);
]]></code></example>
</Docs>
</Member>
<Member MemberName="ConnectionExists">
<MemberSignature Language="C#" Value="public virtual Azure.Response<bool> ConnectionExists (string connectionId, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class Azure.Response`1<bool> ConnectionExists(string connectionId, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.ConnectionExists(System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function ConnectionExists (connectionId As String, Optional context As RequestContext = Nothing) As Response(Of Boolean)" />
<MemberSignature Language="F#" Value="abstract member ConnectionExists : string * Azure.RequestContext -> Azure.Response<bool>
override this.ConnectionExists : string * Azure.RequestContext -> Azure.Response<bool>" Usage="webPubSubServiceClient.ConnectionExists (connectionId, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>Azure.Response<System.Boolean></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="connectionId"> The connection Id. </param>
<param name="context">Options specifying the cancellation token, controlling error reporting, etc.</param>
<summary> Check if the connection with the given connectionId exists. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ConnectionExistsAsync">
<MemberSignature Language="C#" Value="public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ConnectionExistsAsync (string connectionId, Azure.RequestContext context = default);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.Tasks.Task`1<class Azure.Response`1<bool>> ConnectionExistsAsync(string connectionId, class Azure.RequestContext context) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.ConnectionExistsAsync(System.String,Azure.RequestContext)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function ConnectionExistsAsync (connectionId As String, Optional context As RequestContext = Nothing) As Task(Of Response(Of Boolean))" />
<MemberSignature Language="F#" Value="abstract member ConnectionExistsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ConnectionExistsAsync : string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response<bool>>" Usage="webPubSubServiceClient.ConnectionExistsAsync (connectionId, context)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Threading.Tasks.Task<Azure.Response<System.Boolean>></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="connectionId" Type="System.String" />
<Parameter Name="context" Type="Azure.RequestContext" />
</Parameters>
<Docs>
<param name="connectionId"> The connection Id. </param>
<param name="context">Options specifying the cancellation token, controlling error reporting, etc.</param>
<summary> Check if the connection with the given connectionId exists. </summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Endpoint">
<MemberSignature Language="C#" Value="public virtual Uri Endpoint { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Uri Endpoint" />
<MemberSignature Language="DocId" Value="P:Azure.Messaging.WebPubSub.WebPubSubServiceClient.Endpoint" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property Endpoint As Uri" />
<MemberSignature Language="F#" Value="member this.Endpoint : Uri" Usage="Azure.Messaging.WebPubSub.WebPubSubServiceClient.Endpoint" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Azure.Messaging.WebPubSub</AssemblyName>
<AssemblyVersion>1.3.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Uri</ReturnType>
</ReturnValue>
<Docs>
<summary>
The service endpoint.
</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetClientAccessUri">
<MemberSignature Language="C#" Value="public virtual Uri GetClientAccessUri (DateTimeOffset expiresAt, string userId, System.Collections.Generic.IEnumerable<string> roles, System.Threading.CancellationToken cancellationToken);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Uri GetClientAccessUri(valuetype System.DateTimeOffset expiresAt, string userId, class System.Collections.Generic.IEnumerable`1<string> roles, valuetype System.Threading.CancellationToken cancellationToken) cil managed" />
<MemberSignature Language="DocId" Value="M:Azure.Messaging.WebPubSub.WebPubSubServiceClient.GetClientAccessUri(System.DateTimeOffset,System.String,System.Collections.Generic.IEnumerable{System.String},System.Threading.CancellationToken)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function GetClientAccessUri (expiresAt As DateTimeOffset, userId As String, roles As IEnumerable(Of String), cancellationToken As CancellationToken) As Uri" />
<MemberSignature Language="F#" Value="abstract member GetClientAccessUri : DateTimeOffset * string * seq<string> * System.Threading.CancellationToken -> Uri
override this.GetClientAccessUri : DateTimeOffset * string * seq<string> * System.Threading.CancellationToken -> Uri" Usage="webPubSubServiceClient.GetClientAccessUri (expiresAt, userId, roles, cancellationToken)" />
<MemberType>Method</MemberType>
<AssemblyInfo>