Skip to content

Custom Exception Serializer #260

Open
@8ggmaker

Description

@8ggmaker

Is it possible to custom exception serializer for exceptions of remoting call? Message's serializer can be customized by implementing IServiceRemotingMessageSerializationProvider, but it seems exception's serializer is hardcode in RemoteException class:

private static readonly DataContractSerializer serviceExceptionDataSerializer = new DataContractSerializer(typeof(ServiceExceptionData));

and can not be customized. Is there anyway to achieve this? Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions