System.ComponentModel.Win32Exception.GetObjectData C# (CSharp) Method

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void
        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            if (info == null)
            {
                throw new ArgumentNullException(nameof(info));
            }

            info.AddValue(nameof(NativeErrorCode), nativeErrorCode);
            base.GetObjectData(info, context);
        }

Same methods

Win32Exception::GetObjectData ( System info, System context ) : void