SerializableErrorWrapperProvider.Wrap(Object) 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.
Wraps the given object to the wrapping type provided by WrappingType.
public:
virtual System::Object ^ Wrap(System::Object ^ original);
public object Wrap (object original);
public object? Wrap (object? original);
abstract member Wrap : obj -> obj
override this.Wrap : obj -> obj
Public Function Wrap (original As Object) As Object
Parameters
- original
- Object
The original non-wrapped object.
Returns
Returns a wrapped object.