UrlSegmentAliasMapAttribute コンストラクター (String, Type)

新しい URL セグメントとエイリアスの要求を処理するrequestHandlerTypeパラメーターのエイリアスを指定するaliasパラメーターを使用して、 UrlSegmentAliasMapAttributeクラスを指定します。

名前空間:  Microsoft.SharePoint.Client
アセンブリ:  Microsoft.SharePoint.Client.ServerRuntime (Microsoft.SharePoint.Client.ServerRuntime.dll 内)

構文

'宣言
Public Sub New ( _
    alias As String, _
    requestHandlerType As Type _
)
'使用
Dim alias As String
Dim requestHandlerType As Type

Dim instance As New UrlSegmentAliasMapAttribute(alias, requestHandlerType)
public UrlSegmentAliasMapAttribute(
    string alias,
    Type requestHandlerType
)

パラメーター

  • alias
    型: System.String

    URL セグメントの別名です。たとえば、"web"とします。

  • requestHandlerType
    型: System.Type

    エイリアスの要求ハンドラーします。種類では、 IRESTfulRequestHandlerインターフェイスを実装する必要があります。

関連項目

参照先

UrlSegmentAliasMapAttribute クラス

UrlSegmentAliasMapAttribute メンバー

UrlSegmentAliasMapAttribute オーバーロード

Microsoft.SharePoint.Client 名前空間