69 references to WbemStatus
System.ServiceModel (69)
System\ServiceModel\Administration\WbemException.cs (12)
13
internal WbemException(WbemNative.
WbemStatus
hr)
28
internal static void Throw(WbemNative.
WbemStatus
hr)
32
case WbemNative.
WbemStatus
.WBEM_E_NOT_FOUND:
34
case WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER:
36
case WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED:
38
case WbemNative.
WbemStatus
.WBEM_E_INVALID_METHOD:
49
Throw((WbemNative.
WbemStatus
)hr);
57
: base(WbemNative.
WbemStatus
.WBEM_E_NOT_FOUND)
65
: base((int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER, name)
70
: base(WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER)
78
: base(WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED)
86
: base(WbemNative.
WbemStatus
.WBEM_E_INVALID_METHOD)
System\ServiceModel\Administration\WbemProvider.cs (57)
59
if ((int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR != hr)
76
if ((int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR != hr)
133
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
148
wbemSink.SetStatus((int)WbemNative.
WbemStatus
.WBEM_E_FAILED, 0);
149
return (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
159
return (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
178
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
185
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
194
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
205
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
215
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
233
(int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR,
251
(int)WbemNative.
WbemStatus
.WBEM_E_FAILED, null, null);
252
return (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
259
return (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
268
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
277
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
286
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
295
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
305
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
314
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
323
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
334
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
356
(int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR, null, null));
372
(int)WbemNative.
WbemStatus
.WBEM_E_FAILED, null, null);
373
return (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
380
return (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
389
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
399
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
414
(int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR, null, null));
434
(int)WbemNative.
WbemStatus
.WBEM_E_FAILED, null, null);
435
return (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
441
return (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
452
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
462
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
472
(int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR,
496
(int)WbemNative.
WbemStatus
.WBEM_E_FAILED, null, null);
497
return (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
503
return (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
514
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
525
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
537
(int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR, null, null));
557
(int)WbemNative.
WbemStatus
.WBEM_E_FAILED, null, null);
558
return (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
564
return (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
575
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
585
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
596
return (int)WbemNative.
WbemStatus
.WBEM_E_NOT_SUPPORTED;
608
return (int)WbemNative.
WbemStatus
.WBEM_E_INVALID_PARAMETER;
610
int result = (int)WbemNative.
WbemStatus
.WBEM_S_NO_ERROR;
622
result = (int)WbemNative.
WbemStatus
.WBEM_E_NOT_FOUND;
648
result = (int)WbemNative.
WbemStatus
.WBEM_E_FAILED;
797
WbemException.Throw(WbemNative.
WbemStatus
.WBEM_E_INVALID_OBJECT_PATH);
827
WbemException.Throw(WbemNative.
WbemStatus
.WBEM_E_INVALID_QUERY);
969
if ((int)WbemNative.
WbemStatus
.WBEM_E_TYPE_MISMATCH == hResult || (int)WbemNative.
WbemStatus
.WBEM_E_NOT_FOUND == hResult)
973
if ((int)WbemNative.
WbemStatus
.WBEM_E_TYPE_MISMATCH == hResult)