Imaging - Classe
Fournit les méthodes permettant de créer et gérer des bibliothèques d’images.
Hiérarchie d’héritage
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
WebSvcImaging.Imaging
Espace de noms : WebSvcImaging
Assembly : STSSOAP (dans STSSOAP.dll)
Syntaxe
'Déclaration
<WebServiceBindingAttribute(Name := "ImagingSoap", Namespace := "https://schemas.microsoft.com/sharepoint/soap/ois/")> _
Public Class Imaging _
Inherits SoapHttpClientProtocol
'Utilisation
Dim instance As Imaging
[WebServiceBindingAttribute(Name = "ImagingSoap", Namespace = "https://schemas.microsoft.com/sharepoint/soap/ois/")]
public class Imaging : SoapHttpClientProtocol
Exemples
L'exemple de code suivant montre comment initialiser une nouvelle instance du service de Imaging et d'authentifier l'utilisateur sur le serveur en utilisant les informations d'identification de l'utilisateur actuel.
Dim ws As New mywss001.Imaging()
Dim myCache As New System.Net.CredentialCache()
ws.Credentials = myCache.DefaultCredentials
mywss001.Imaging ws = new mywss001.Imaging();
System.Net.CredentialCache myCache = new System.Net.CredentialCache();
ws.Credentials = myCache.DefaultCredentials;
Cohérence de thread
Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.