Xamarin Public Jenkins c042cd0c52 Imported Upstream version 4.2.0.179
Former-commit-id: 4610231f55806d2a05ed69e5ff3faa7336cc1479
2015-11-10 15:03:43 +00:00

40 lines
877 B
C#

using System;
class NativeOledbWrapper
{
const string msg = "It is native method used by Microsoft System.Data.OleDb implementation that Mono or non-Windows platform does not support.";
#if !MOBILE
public static int SizeOfPROPVARIANT {
get { throw new NotSupportedException (msg); }
}
public static int ITransactionAbort (IntPtr handle)
{
throw new NotSupportedException (msg);
}
public static int ITransactionCommit (IntPtr handle)
{
throw new NotSupportedException (msg);
}
public static bool MemoryCompare (IntPtr dst, IntPtr src, int bytes)
{
throw new NotSupportedException (msg);
}
public static IntPtr IChapteredRowsetReleaseChapter (IntPtr handle, IntPtr chapter)
{
throw new NotSupportedException (msg);
}
#endif
public static int MemoryCopy (IntPtr dst, IntPtr src, int bytes)
{
throw new NotSupportedException (msg);
}
}