RMServerException.GetSoapException 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
GetSoapException(Uri) |
Overridable function to get the Soap exception to be returned to the client. |
GetSoapException(Uri, EventLogId) |
Overridable function to get the Soap exception to be returned to the client. |
GetSoapException(Uri)
Overridable function to get the Soap exception to be returned to the client.
public virtual Microsoft.Media.Drm.Soap.SoapException GetSoapException (Uri url);
abstract member GetSoapException : Uri -> Microsoft.Media.Drm.Soap.SoapException
override this.GetSoapException : Uri -> Microsoft.Media.Drm.Soap.SoapException
Public Overridable Function GetSoapException (url As Uri) As SoapException
Parameters
- url
- Uri
The url passed as the Actor parameter of the SoapException returned by this method.
Returns
The SoapException to be returned to the client.
Remarks
This exception just returns the generic "Internal Server Error" exception. Any exception caught by the top level exception handler will be converted using this method or one of its overrides.
Applies to
GetSoapException(Uri, EventLogId)
Overridable function to get the Soap exception to be returned to the client.
public virtual Microsoft.Media.Drm.Soap.SoapException GetSoapException (Uri url, Microsoft.Media.Drm.EventLogId eventId);
abstract member GetSoapException : Uri * Microsoft.Media.Drm.EventLogId -> Microsoft.Media.Drm.Soap.SoapException
override this.GetSoapException : Uri * Microsoft.Media.Drm.EventLogId -> Microsoft.Media.Drm.Soap.SoapException
Public Overridable Function GetSoapException (url As Uri, eventId As EventLogId) As SoapException
Parameters
- url
- Uri
The url passed as the Actor parameter of the SoapException returned by this method.
- eventId
- EventLogId
The EventLogId used when writing to the event log.
Returns
The SoapException to be returned to the client.
Remarks
This exception just returns the generic "Internal Server Error" exception. Any exception caught by the top level exception handler will be converted using this method or one of its overrides.