static private InvalidOpStreamNonSeekable ( string method ) : string | ||
method | string | |
return | string |
internal static string InvalidOpStreamNonSeekable(string method)
{
return SR.Format(SR.SqlMisc_InvalidOpStreamNonSeekable, method);
}
} // SqlResource
private void ThrowIfStreamCannotSeek(string method) { if (!this.m_stream.CanSeek) { throw new NotSupportedException(SQLResource.InvalidOpStreamNonSeekable(method)); } }