ApplicationSharingClient.CreateException 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.
Overloads
CreateException(MediaOperationFailureCategory, ErrorReason, Exception) | |
CreateException(MediaOperationFailureCategory, ErrorReason, Exception, DiagnosticsInformation) |
CreateException(MediaOperationFailureCategory, ErrorReason, Exception)
protected public:
static Microsoft::Rtc::Internal::Collaboration::ComponentModel::MediaOperationFailureException ^ CreateException(Microsoft::Rtc::Internal::Collaboration::ComponentModel::MediaOperationFailureCategory category, Microsoft::Rtc::Internal::Collaboration::ApplicationSharing::Media::ErrorReason reason, Exception ^ innerException);
protected internal static Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureException CreateException (Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureCategory category, Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.ErrorReason reason, Exception innerException);
static member CreateException : Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureCategory * Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.ErrorReason * Exception -> Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureException
Protected Friend Shared Function CreateException (category As MediaOperationFailureCategory, reason As ErrorReason, innerException As Exception) As MediaOperationFailureException
Parameters
- category
- MediaOperationFailureCategory
- reason
- ErrorReason
- innerException
- Exception
Returns
Applies to
CreateException(MediaOperationFailureCategory, ErrorReason, Exception, DiagnosticsInformation)
protected public:
static Microsoft::Rtc::Internal::Collaboration::ComponentModel::MediaOperationFailureException ^ CreateException(Microsoft::Rtc::Internal::Collaboration::ComponentModel::MediaOperationFailureCategory category, Microsoft::Rtc::Internal::Collaboration::ApplicationSharing::Media::ErrorReason reason, Exception ^ innerException, Microsoft::Rtc::Signaling::DiagnosticsInformation ^ diagnosticsInfo);
protected internal static Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureException CreateException (Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureCategory category, Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.ErrorReason reason, Exception innerException, Microsoft.Rtc.Signaling.DiagnosticsInformation diagnosticsInfo);
static member CreateException : Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureCategory * Microsoft.Rtc.Internal.Collaboration.ApplicationSharing.Media.ErrorReason * Exception * Microsoft.Rtc.Signaling.DiagnosticsInformation -> Microsoft.Rtc.Internal.Collaboration.ComponentModel.MediaOperationFailureException
Protected Friend Shared Function CreateException (category As MediaOperationFailureCategory, reason As ErrorReason, innerException As Exception, diagnosticsInfo As DiagnosticsInformation) As MediaOperationFailureException
Parameters
- category
- MediaOperationFailureCategory
- reason
- ErrorReason
- innerException
- Exception
- diagnosticsInfo
- DiagnosticsInformation