Xamarin Public Jenkins 6992685b86 Imported Upstream version 4.2.0.179
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
2015-11-10 14:54:39 +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);
}
}