Expand Minimize
This topic has not yet been rated - Rate this topic

Microsoft.SharePoint.Utilities namespace

Used for various utilities tasks, including encoding of strings and processing of user information.

  ClassDescription
Public classAttachmentEnumeratorRepresents an enumerator for SPEmailMessage attachments.
Public classByteArrayComparer Helper class to compare byte arrays.
Public classDateOptionsProvides access to properties and methods that are used to view and set date options.
Public classDesignPreviewSaveData
Public classHostBlobDataCounter
Public classIntlDateRepresents an international date value.
Public classMoblogUtilitySpecifies enumerations for a mobile Web log site.
Public classPageUrlNormalizationNormalizes URLs to ensure equivalence between different forms of the same URL.
Public classRightsSensitiveVisibilityHelperRepresents a hyperlink that is hidden if the current user does not have appropriate permissions for the current Web site or list.
Public classSPADOperationsScope Scope containing AD opetaion properties.
Public classSPAsyncThreadDiagnosticsContext This is an utility class used in async thread for diagnostics info. It is suposed to called in the async thread. to set the right correlation and ULS trace override context.
Public classSPBucketHealthScoreCalculatorProvides computation of health scores for a specific performance value based on the range of possible values ("bucket") into which the value falls.
Public classSPCallCounterThis counter monitors the number of calls to an arbitrary API (WCF service calls) made during a request.
Public classSPClaimsCounter
Public classSPClaimsCounterScope
Public classSPColor Represents a color scheme as described in an SPColor XML file. Describes color slots
Public classSPCPUCycleCounter This monitor is used to track the CPU cycles.
Public classSPCPUCycleData A helper class to count the cycles. It starts record ticks in contructor and stop ticks in Dispose(). In Dispose(), it will add the cycles to the SPCPUCycleCounter of SPMonitoredScopes
Public classSPCriticalTraceCounterThis monitor tracks critical windows events and asserts that occur during an operation, such as a page browse. Tracking includes the event text, id, call stack.
Public classSPCurrentUsernameMonitor
Public classSPCustomRedirect Class that manages custom redirect handler registration, and returning the redirect URL based on registered handlers This allows a fallback mechanism for cases in which redirection using the "Source" parameter is not adequate. An example would be enabling redirection between two web applications with different host names, in which "Source" validation would fail
Public classSPDiagnosticDataProviderAn abstract definition of the information provider for the diagnostic.
Public classSPDiagnosticsState Provides the state information needed to allow asynchronous operations to provide diagnostic information that can be coordinated with the original request
Public classSPDiffUtilityProvides a method and supporting properties to determine the text differences between two strings.
Public classSPEmailAttachmentRepresents an attachment in an e-mail message.
Public classSPEmailAttachmentCollectionRepresents the attachments in an e-mail message.
Public classSPEmailHeaderRepresents a message header for an e-mail message.
Public classSPEmailHeaderCollectionRepresents the collection of message headers for an e-mail message.
Public classSPEmailMessageRepresents a MIME-formatted e-mail message.
Public classSPEncodeProvides methods for encoding strings.
Public classSPExecutionTimeCounterRepresents a monitor that tracks execution time for an operation.
Public classSPFileExtensionsCollectionA collection for storing file extensions (aspx, ascx etc.).
Public classSPFont Represents a font scheme as described in an SPFont XML file. Describes font family slots and font size slots
Public classSPHealthScoreCalculatorWhen implemented in a derived class, provides a method for translating a performance value into a health score from 0 to 10.
Public classSPHttpFileExtensionThrottleClassifierEnables the management of throttling of HTTP requests for a resource with specified extension.
Public classSPHttpHeaderThrottleClassifierEnables the management of throttling for HTTP requests that include a specified header.
Public classSPHttpThrottleSettingsProvides management and configuration settings for performance monitoring and HTTP request throttling.
Public classSPHttpThrottlingMonitorsRepresents a collection of objects which can be used to create performance monitors for a Web application.
Public classSPHttpUserAgentAndMethodClassifierEnables the management of throttling for HTTP requests for a specified user agent, a specified HTTP method, or a combination of agent and method.
Public classSPHttpUtilityProvides access to methods used to encode and decode strings during the processing of Web requests.
Public classSPIntlCalRepresents an international calendar.
Public classSPKeyValuePairSerializationInfoStores data that is needed to serialize and deserialize an object.
Public classSPMobileUtilityProvides access to methods and enumerations for working with a mobile Web application.
Public classSPMonitoredScopeMonitors performance and resource use for a specified scoped block of code.
Public classSPPerformanceMonitorCreationDataProvides information needed to create a performance monitor.
Public classSPPrincipalInfoProvides access to information about the current principal.
Public classSPPropertyBagStores arbitrary key and value pairs that contain custom property settings.
Public classSPRelativeDateTime
Public classSPRequestThrottleClassifierWhen implemented in a derived class, provides a means of assigning a throttle level to a type of HTTP request.
Public classSPRequestUsageCounterTracks the number of opened SPRequest objects.
Public classSPRerunDiscoveryJobDefinition
Public classSPResourceBudgetMonitors the usage of specified resources within a code block.
Public classSPSafeThreadProvides a thread safe class wrapper.
Public classSPSearchCrawlingRequestClassifierEnables the management of throttling for HTTP requests that come from search crawlers.
Public classSPSqlExceptionsMonitor
Public classSPSqlIoMonitor
Public classSPSqlLatencyMonitor
Public classSPSqlQueryCounterRepresents a monitor that tracks information about the SQL queries that are made during an operation. For each query, this monitor tracks the SqlQueryData text, the call stack, and the duration.
Public classSPStringUtilityProvides access to methods for manipulating strings.
Public classSPSystemPerformanceCounterMonitorRepresents a monitor for the value of a specific system performance counter.
Public classSPSystemPerformanceMonitorRepresents a monitor that tracks some aspect of the performance of the SharePoint Foundation deployment.
Public classSPSystemPerformanceMonitorCollectionRepresents a collection of performance monitoring objects.
Public classSPTheme Represents a theme as described in an SPTheme XML file.
Public classSPThreadPoolProvides access to methods for queuing a method for execution by using the identity of a remote user or a specified user token.
Public classSPUrlUtilityProvides access to methods that operate on URLs.
Public classSPUtilityProvides tools for converting date and time formats, for obtaining information from user names, for modifying access to sites, and for various other tasks in managing deployments of Microsoft SharePoint Foundation.
Public classSPWebRequest Helper calss that creates outbound web requests. The produced web requests may have restrictions or enhancements specific to SharePoint.
Public classSqlQueryDataRepresents a container for SQL query information that is used for diagnostic purposes.
Public classThemeBorderValues size constants for theme border
Public classThemeColorRepresents a color in a set of base colors within the context of a ThmxTheme object. A theme color consists of a default color and an associated list of shades.
Public classThemeFontRepresents a theme font within the context of a ThmxTheme object. A theme font consists of at least three script fonts accompanied by a dictionary of optional script-font mappings.
Public classThemeFontFace
Public classThemeSizeValues size constants for theme radius
Public classThmxThemeRepresents a Microsoft Office XML theme file. The methods and properties of this class enable read and write operations on the theme name, the color list, and the font list.
  StructureDescription
Public structureSimpleDateRepresents a date value containing the year, month, and day in any local calendar.
  InterfaceDescription
Public interfaceISPCalendarProvides methods for working with the local calendar.
Public interfaceISPCustomRedirectHandler Interface for a class that gives a custom redirect URL, based on a key parameter. This is used as a fallback mechanism for cases when the "Source" parameter is not adequate
Public interfaceISPPerformanceMonitorImplement this interface to count and describe the number of queries that are sent to an external database.
Public interfaceISPScopedPerformanceMonitorImplement this interface to create a monitor to measure performance metrics within a given scope in code.
Public interfaceISPTheme
Public interfaceISqlSessionProvides an interface to access databases by using the .NET Data Provider for SQL Server.
Public interfaceISupportNameValuePairsSerialization
  DelegateDescription
Public delegateSPSafeThread.CodeToRunDelegate for SPSafeThread used to run background threads to handle any exception that might be thrown. An exception caught is logged and the thread is discontinued without affecting the calling process.
  EnumerationDescription
Public enumerationAuthenticationRestrictionsSpecifies whether access is restricted to only authenticated users, only anonymous users, or is available to all users.
Public enumerationDBCSQueryStringEncodingsSpecifies whether double-byte character set (DBCS) query strings use Unicode or UTF8 encoding.
Public enumerationFormatConversionOptionSpecifies the format to use for Web Part conversions.
Public enumerationIconSizeSpecifies the default icon size.
Public enumerationItemUrlTypeEnumerates SharePoint URL types.
Public enumerationLogAppErrorResult Enumeration for the result of LogCustomAppError and LogCustomRemoteAppError
Public enumerationPageModesSpecifies the page mode required to view items.
Public enumerationPageUrlNormalizationOptionEnumerator for Modifier Options
Public enumerationPermissionContextSpecifies the context object to which a permission mask is applied.
Public enumerationPermissionModeSpecifies whether the user must have all of the rights specified in the permission mask to view a link, or only one of the rights specified in the permission mask.
Public enumerationPresenceIndicatorSize Available sizes for the IM Presence Indicator jewel/bar.
Public enumerationSPBehaviorInternalFor methods whose behavior has changed between Windows SharePoint Services 2.0 and Windows SharePoint Services 3.0, this class specifies which behavior to use.
Public enumerationSPClaimsAuthenticationTimeCategory
Public enumerationSPDateFormatSpecifies the date and time format.
Public enumerationSPHttpUserAgentAndMethodClassifier.MatchSettingsSpecifies how an HTTP request must match the property values of a user agent and HTTP method request classifier in order for the classier to manage the throttling of the request.
Public enumerationSPLangIdProvides access to the integer identifier of the local language.
Public enumerationSPPrincipalSourceSpecifies the source of the current principal.
Public enumerationSPPrincipalTypeSpecifies the principal type.
Public enumerationSPRedirectFlagsSpecifies flags for a redirect operation.
Public enumerationSPRequestThrottleLevelSpecifies when HTTP requests are throttled.
Public enumerationSPSessionCredentialsFlagsSpecifies whether the SharePoint session requires authentication.
Public enumerationSPSystemPerformanceCounterRelativeInstanceIndicates whether an instance of a counter is given the name of the Web application (e.g., “SharePoint – 80”) or the name of the process in which it is running (e.g., “w3wp”).
Public enumerationSPTypeOfRedirectEnumerator that specifies the type of redirect URL requested.
Public enumerationSPWebServiceBehaviorSpecifies web service behavior.
Public enumerationSPWOPIAction
Public enumerationSPWOPIFrameAction Indicates which WOPI Action should be started for the associated SPListItem.
Public enumerationThemeTypeRepresents the state of a ThmxTheme object and its relationship with SharePoint theme features.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.